Класс 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Переходит к предыдущему символу.

См. также