Lite |
The LiteEncoder type exposes the following members.
| Name | Description | |
|---|---|---|
| CanEncodeIso | Determines if a string can be represented as a Latin ISO-8859-1 encoded byte array. The v2.3 spec says that valid characters are in the range $20 to $ff. | |
| DecodeAscii(Byte) | Decodes a string from an ASCII buffer. | |
| DecodeAscii(Byte, Int32, Int32) | Decodes a string from an ASCII buffer range. | |
| DecodeIso | Decodes an ISO-8859-1 buffer range to a string. | |
| DecodeUnicode | Gets a string from a Unicode encoded buffer range. We have to honour an LE BOM, a BE BOM or no BOM at all for backwards compatibility. | |
| EncodeAscii | Encodes a string as an ASCII buffer. | |
| EncodeIso | Encodes a string as an ISO-8859-1 buffer. | |
| EncodeUnicode | Gets a Unicode encoded buffer with BOM prefix from a string. The buffer is endian encoded and BOM chosen according to the bit-endedness of the current runtime environment. |