PbBlobExtensions.CharA(this PbBlob pbBlob, Encoding encoding) Method
.NET Standard 2.x
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.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static char? CharA(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 the 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, CharA returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x