Show / Hide Table of Contents

    PbBlobExtensions Class

    .NET Standard 2.x

    Provides the extension methods for PbBlob.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

      public static class PbBlobExtensions;
    

    Methods

    Name Return Type Description
    Byte(this PbBlob pbBlob) System.Byte Obtains a Byte value stored in a PbBlob.
    Char(this PbBlob pbBlob) System.Char Extracts the first Unicode character of a PbBlob in which the first value is a string or number to a char.
    Char(this PbBlob pbBlob, Encoding encoding) System.Char Extracts the first Unicode character of a PbBlob in which the first value is a string or number to a char. If the blob's value is not text data, Char attempts to interpret the data as characters.
    CharA(this PbBlob pbBlob) System.Char Extracts the first ASCII character of a PbBlob in which the first value is a string or number to a char.
    CharA(this PbBlob pbBlob, Encoding encoding) System.Char Extracts the first ASCII character of a PbBlob in which the first value is a string or number to a char. If the blob's value is not text data, Char attempts to interpret the data as characters.
    Date(this PbBlob pbBlob) System.DateTime Extracts a DateTime from a PbBlob whose first value is a DateTime value.
    DateTime(this PbBlob pbBlob) System.DateTime Extracts a DateTime value from a PbBlob whose first value is a DateTime value.
    Dec(this PbBlob pbBlob) System.Decimal Obtains a decimal value stored in a PbBlob.
    Double(this PbBlob pbBlob) System.Double Obtains a double value that is stored in a PbBlob.
    Integer(this PbBlob pbBlob) System.Int16 Obtains a short value that is stored in a PbBlob.
    Len(this PbBlob pbBlob) System.Int32 Reports the length of a PbBlob.
    LenA(this PbBlob pbBlob) System.Int32 Reports the length of a PbBlob.
    Long(this PbBlob pbBlob) System.Int32 Obtains an int value stored in a PbBlob.
    LongLong(this PbBlob pbBlob) System.Int64 Obtains a long value stored in a PbBlob.
    Real(this PbBlob pbBlob) System.Single Obtains a real value that is stored in a PbBlob.
    String(this PbBlob pbBlob) System.String Converts data in a PbBlob to a string value. If the PbBlob's value is not text data, String attempts to interpret the data as Unicode characters.
    String(this PbBlob pbBlob, Encoding encoding) System.String Converts data in a PbBlob to a string value. If the PbBlob's value is not text data, String attempts to interpret the data as Encoding characters.
    Time(this PbBlob pbBlob) System.TimeSpan Extracts a TimeSpan value from a PbBlob in which the first value is a time.
    Back to top Generated by Appeon