System::Text::Details_DecoderFallbackException Class Reference

Inherits System::Details_ArgumentException.

Public Member Functions

ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > get_BytesUnknown ()
 
ASPOSECPP_SHARED_API int get_Index ()
 

Detailed Description

Exception thrown by DecoderExceptionFallback when decoding fails. Never create instances of this class manually. Use the DecoderFallbackException class instead. Never wrap the DecoderFallbackException class instances into System::SmartPtr.

Member Function Documentation

◆ get_BytesUnknown()

ASPOSECPP_SHARED_API System::ArrayPtr<uint8_t> System::Text::Details_DecoderFallbackException::get_BytesUnknown ( )

Gets byte array that triggered error.

Returns
Byte array that broke decoding.

◆ get_Index()

ASPOSECPP_SHARED_API int System::Text::Details_DecoderFallbackException::get_Index ( )

Gets position of byte that triggered error in input array.

Returns
Index of erroneous byte in input array.