System::Text::DecoderFallbackBuffer class

DecoderFallbackBuffer class

Provides buffer for fallback implementation. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class DecoderFallbackBuffer : public System::Object

Methods

MethodDescription
virtual Fallback(ArrayPtr<uint8_t>, int)Implements actual fallback procedure.
virtual get_Remaining() constGets remaining count of characters to be processed.
virtual GetNextChar()Extracts next character in fallback buffer.
virtual MovePrevious()Moves buffer position one step back if possible.
virtual Reset()Resets buffer to initial state.

See Also