System::Text::EncoderReplacementFallbackBuffer‑klass

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

Metoder

MetodBeskrivning
EncoderReplacementFallbackBuffer(const EncoderReplacementFallbackPtr&)Konstruktor.
Fallback(char_t, int) overrideHantera kodningsfel.
Fallback(char_t, char_t, int) overrideHantera kodningsfel.
get_Remaining() const overrideHämtar antalet återstående tecken i bufferten.
GetNextChar() overrideHämtar nästa tillgängliga tecken.
MovePrevious() overrideFlyttar till föregående tecken.
Reset() overrideÅterställer bufferten till ursprungligt tillstånd (innan Fallback() anrop).

Se även