DecoderFallbackBuffer |
Name | Description |
---|---|
Remaining (get) | When implemented by a class, gets the number of characters in the current DecoderFallbackBuffer object that remain to be processed. |
Name | Description |
---|---|
Equals | Determines whether the specified value passed in is equal to the current object. |
Fallback | When implemented by a class, prepares the fallback buffer to handle the specified input byte sequence. |
GetHashCode | Serves as the default hash function. |
GetNextChar | When implemented by a class, retrieves the next character in the fallback buffer. |
MovePrevious | When implemented by a class, causes the next call to the GetNextChar method to access the data buffer character position that is prior to the current character position. |
Reset | Initializes all data and state information pertaining to this fallback buffer. |
ToString | Returns a string that represents the current object. |
An encoding defines a mapping between a Unicode character and an encoded sequence of bytes. A decoding operation, which converts an input byte sequence to an output character, fails if no mapping is defined for a particular byte sequence.
VBCorLib provides a failure handling mechanism, called a fallback, if a conversion cannot be performed. All decoder fallback handlers must implement the following: