DecoderReplacementFallbackBuffer: Fallback |
Prepares the replacement fallback buffer to use the current replacement string.
Public Function Fallback( ByRef BytesUnknown ( ) As Byte, ByVal Index As Long ) As Boolean
The GetBytes and Convert methods call Fallback if they encounter an unknown input byte sequence that cannot be decoded. If the return value of Fallback is True, the calling method can invoke the GetNextChar method to obtain each character of the fallback buffer.
Exception | Condition |
---|---|
ArgumentException | This method is called again before the GetNextChar method has read all the characters in the replacement fallback buffer. |