System::Text::DecoderExceptionFallbackBuffer-klass

DecoderExceptionFallbackBuffer class

Buffer for exception-throwing decoding fallback strategy. Doesn’t store anything actually, but throws instead. 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 DecoderExceptionFallbackBuffer : public System::Text::DecoderFallbackBuffer

Metoder

MetodBeskrivning
DecoderExceptionFallbackBuffer()Konstruktor.
Fallback(ArrayPtr<uint8_t>, int) overrideHantera avkodningsfel.
get_Remaining() const overrideHämtar antalet återstående tecken.
GetNextChar() overrideHämtar nästa tillgängliga tecken.
MovePrevious() overrideFlyttar till föregående tecken.

Se även