System::Text::DecoderExceptionFallbackBuffer クラス

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

メソッド

メソッド説明
DecoderExceptionFallbackBuffer()コンストラクタ。
Fallback(ArrayPtr<uint8_t>, int) overrideデコード失敗を処理します。
get_Remaining() const override残りの文字数を取得します。
GetNextChar() override次に利用可能な文字を取得します。
MovePrevious() override前の文字に移動します。

参照