System::Text::EncoderReplacementFallbackBuffer 类
内容
[
隐藏
]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
方法
| 方法 | 描述 |
|---|---|
| EncoderReplacementFallbackBuffer(const EncoderReplacementFallbackPtr&) | 构造函数。 |
| Fallback(char_t, int) override | 处理编码失败。 |
| Fallback(char_t, char_t, int) override | 处理编码失败。 |
| get_Remaining() const override | 获取缓冲区中剩余字符的数量。 |
| GetNextChar() override | 获取下一个可用字符。 |
| MovePrevious() override | 移动到上一个字符。 |
| Reset() override | 将缓冲区重置为初始状态(在调用 Fallback() 之前)。 |
另见
- Class EncoderFallbackBuffer
- Namespace System::Text
- Library Aspose.Font for C++