System::Text::ICUDecoder 类
内容
[
隐藏
]ICUDecoder class
Decoder that uses ICU for decoding. 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 ICUDecoder : public System::Text::Decoder
方法
| 方法 | 描述 |
|---|---|
| virtual Convert(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, int, bool, int&, int&, bool&) | 将字节转换为字符。 |
| virtual Convert(const uint8_t *, int, char_t *, int, bool, int&, int&, bool&) | 将字节转换为字符。 |
| virtual GetCharCount(ArrayPtr<uint8_t>, int, int) | 获取解码缓冲区所需的字符数。 |
| virtual GetCharCount(ArrayPtr<uint8_t>, int, int, bool) | 获取解码缓冲区所需的字符数。 |
| virtual GetCharCount(const uint8_t *, int, bool) | 获取解码缓冲区所需的字符数。 |
| virtual GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) | 获取解码缓冲区后得到的字符。 |
| virtual GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, bool) | 获取解码缓冲区后得到的字符。 |
| virtual GetChars(const uint8_t *, int, char_t *, int, bool) | 获取解码缓冲区后得到的字符。 |
| ICUDecoder(ICUEncoding *) | 构造函数。 |
| virtual Reset() | 将内部变量设置为初始状态。 |
| virtual ~ICUDecoder() | 析构函数。 |
Typedefs
| 类型定义 | 描述 |
|---|---|
| Base | Base 类型。 |
另见
- Class Decoder
- Namespace System::Text
- Library Aspose.Font for C++