Provides fallback API to handle decoding error. Objects of this class should only be allocated using ...
Definition: decoder_fallback.h:14
static const DecoderFallbackPtr get_StandardSafeFallback()
Gets default standard safe fallback implementation.
virtual int get_MaxCharCount() const =0
Gets maximal number of characters that can be returned by fallback.
DecoderFallback()=default
Constructor.
static const DecoderFallbackPtr get_ExceptionFallback()
Gets default exception fallback implementation.
virtual DecoderFallbackBufferPtr CreateFallbackBuffer()=0
Gets buffer associated with fallback algorithm.
static const DecoderFallbackPtr get_ReplacementFallback()
Gets default replacement fallback implementation.