BinaryTextEncoding Properties |
The BinaryTextEncoding type exposes the following members.
| Name | Description | |
|---|---|---|
| Default |
The default encoding is 2-byte big-endian length-encoded ASCII.
| |
| FixedLengthASCII |
An encoder that will encode and decode fixed length ASCII string.
| |
| FixedLengthUnicode |
An encoder that will encode and decode fixed length Unicode string.
| |
| LengthEncodedASCII1 |
Returns an encoder that will encode and decode 1-byte length encoded ASCII string. The string is formatted
in the data buffer with the first byte containing the length of the string that follows. The characters
in the string are ASCII.
| |
| LengthEncodedASCII2BE |
Returns an encoder that will encode and decode 2-byte big-endian length encoded ASCII string. The string is formatted
in the data buffer with the first two bytes containing the length of the string that follows. The characters
in the string are ASCII.
| |
| LengthEncodedASCII2LE |
Returns an encoder that will encode and decode 2-byte little-endian length encoded ASCII string. The string is
formatted in the data buffer with the first two bytes containing the length of the string that follows. The
characters in the string are ASCII.
| |
| LengthEncodedASCII4LE |
Returns an encoder that will encode and decode 4-byte little-endian length encoded ASCII string. The string is
formatted in the data buffer with the first two bytes containing the length of the string that follows. The
characters in the string are ASCII.
| |
| LengthEncodedUnicode2LE |
Returns an encoder that will encode and decode 2-byte little-endian length encoded Unicode string. The string is
formatted in the data buffer with the first two bytes containing the length of the string that follows. The
characters in the string are Unicode.
| |
| NullTerminatedASCII |
An encoder that will encode and decode null terminated ASCII strings.
| |
| NullTerminatedUnicode |
An encoder that will encode and decode null terminated Unicode strings.
| |
| StxEtx |
An encoder that will encode and decode STX/ETX delimted ASCII strings.
|