System::Text::EncoderReplacementFallbackBuffer class

EncoderReplacementFallbackBuffer class

Buffer for replacing encoding fallback strategy. 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 EncoderReplacementFallbackBuffer : public System::Text::EncoderFallbackBuffer

Methods

MethodDescription
EncoderReplacementFallbackBuffer(const EncoderReplacementFallbackPtr&)Constructor.
Fallback(char_t, int) overrideHandles encoding failure.
Fallback(char_t, char_t, int) overrideHandles encoding failure.
get_Remaining() const overrideGets number of remaining characters in buffer.
GetNextChar() overrideGets next available character.
MovePrevious() overrideMoves to previous chracter.
Reset() overrideResets buffer to initial state (before Fallback() call).

See Also