DecoderExceptionFallbackBuffer: Fallback |
Throws DecoderFallbackException when the input byte sequence cannot be decoded. The nominal return value is not used.
Public Function Fallback( ByRef BytesUnknown ( ) As Byte, ByVal Index As Long ) As Boolean
Exception | Condition |
---|---|
DecoderFallbackException | This method always throws an exception that reports the value and index position of the input byte that cannot be decoded. |
The GetBytes and Convert methods call Fallback if they encounter an unknown byte in their input. In response, the Fallback method always throws DecoderFallbackException and displays the input data. The Fallback method nominally indicates whether an exception is thrown if an input byte sequence cannot be decoded.