Asposecpplib
System::Text::Details_DecoderFallbackException Class Reference

Exception thrown by DecoderExceptionFallback when decoding fails. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...

Inherits Details_ArgumentException.

Public Member Functions

ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > get_BytesUnknown ()
 Gets byte array that triggered error. More...
 
ASPOSECPP_SHARED_API int get_Index ()
 Gets position of byte that triggered error in input array. More...
 

Detailed Description

Exception thrown by DecoderExceptionFallback when decoding fails. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.

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.