BinaryTextEncoding Methods |
The BinaryTextEncoding type exposes the following members.
| Name | Description | |
|---|---|---|
| FixedLength |
Returns an encoder that will encode and decode fixed length string given a character encoding.
| |
| GetByteCount(String) |
Calculates the number of bytes produced by encoding the characters in the specified string.
| |
| GetByteCount(BinaryString) |
Calculates the number of bytes produced by encoding the characters in the specified string.
| |
| GetBytes(BinaryString) |
Encodes a string into a byte array.
| |
| GetBytes(BinaryString, Buffer) |
Encodes a string into a byte array.
| |
| GetBytes(BinaryString, IDataWriter) |
Encodes a string into a byte array.
| |
| GetBytes(BinaryString, Byte, Int32, Int32) |
Encodes a string into a byte array.
| |
| GetBytesInternal |
Encodes a string into a byte array.
| |
| GetString(Buffer) |
Decodes a string from a byte array.
| |
| GetString(IDataReader) |
Decodes a string from a byte array.
| |
| GetString(Byte, Int32, Int32) |
Decodes a string from a byte array.
| |
| GetStringAsync |
Decodes a string from a byte array.
| |
| GetStringInternal |
Decodes a string from a byte array.
| |
| GetStringInternalAsync |
Decodes a string from a byte array.
| |
| LengthEncoded |
Returns an encoder that will encode and decode length encoded string.
| |
| LengthEncoded2ByteASCII |
Returns an encoder that will encode and decode 2-byte 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.
| |
| NullTerminated |
Returns an encoder that will encode and decode null terminated string given a character encoding.
| |
| StringDelimited |
Returns an encoder that will encode and decode string-delimited strings given a character encoding.
|