System::Text::EncoderExceptionFallbackBuffer 类

EncoderExceptionFallbackBuffer class

Buffer for exception-throwing encoding 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 EncoderExceptionFallbackBuffer : public System::Text::EncoderFallbackBuffer

方法

方法描述
EncoderExceptionFallbackBuffer()构造函数。
Fallback(char_t, int) override处理编码失败。
Fallback(char_t, char_t, int) override处理编码失败。
get_Remaining() const override获取剩余字符的数量。
GetNextChar() override获取下一个可用字符。
MovePrevious() override移动到上一个字符。

另见