Show / Hide Table of Contents

    PbBlobExtensions.Char(this PbBlob pbBlob, Encoding encoding) Method

    .NET Standard 2.x

    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.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static char? Char(this PbBlob pbBlob, Encoding encoding);
    

    Parameters

    pbBlob PowerScript.Bridge.PbBlob

    A PbBlob in which the first value is a string or integer. The rest of the contents of PbBlob is ignored.

    encoding System.Text.Encoding

    Character encoding of the blob you want to convert.

    Returns

    System.Char

    Returns the first encoding character of pbBlob. If pbBlob is null, Char returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon