Provides fallback API to handle decoding error. Objects of this class should only be allocated using ...
Definition: decoder_fallback.h:14
Provides fallback strategy of replacing erroneous symbol with a stub. Objects of this class should on...
Definition: decoder_replacement_fallback.h:19
DecoderReplacementFallback(const String &replacement_)
Constructor.
Definition: decoder_replacement_fallback.h:25
virtual DecoderFallbackBufferPtr CreateFallbackBuffer() override
Creates fallback buffer.
const String & get_DefaultString() const
Gets replacement string.
Definition: decoder_replacement_fallback.h:36
virtual int get_MaxCharCount() const override
Gets maximal count of characters the instance can return.
Definition: decoder_replacement_fallback.h:39
DecoderReplacementFallback()
Constructor that uses deafault "?" replacement string.
Definition: decoder_replacement_fallback.h:22
~DecoderReplacementFallback() override
Destructor.