UTF7Encoding: GetDecoder

GetDecoder

Returns a decoder that maintains state.



 Public Function GetDecoder ( ) As Decoder

Return Values

Decoder -  The stateful decoder.

Remarks

Unlike UTF8Encoding, the decoder maintains state between decoding calls. this allows for a sequence of bytes to not have to be in the same call in order to be decoded to the representive character. All characters other than directly encodable characters are encoded in a modified Base64 encoding, which can be require 3 bytes to decode to a single character. This decoder allows the Base64 encoded byte set to be decoded across multiple calls and still be decoded as a single set of bytes. A multi-byte encoded characters does not need to be in the same call in order to be decoded properly.

See Also

Project CorLib Overview

Class UTF7Encoding Overview