System::Text::ICUDecoder::GetCharCount 方法
内容
[
隐藏
]ICUDecoder::GetCharCount(ArrayPtr<uint8_t>, int, int) method
获取解码缓冲区所需的字符数。
virtual int System::Text::ICUDecoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
| 参数 | 类型 | 描述 |
|---|---|---|
| 字节 | ArrayPtr<uint8_t> | 待解码的字节。 |
| index | int | Buffer 偏移。 |
| count | int | 要解码的字节数。 |
ReturnValue
解码缓冲区所需的字符数。
另见
- Typedef ArrayPtr
- Class ICUDecoder
- Namespace System::Text
- Library Aspose.Font for C++
ICUDecoder::GetCharCount(ArrayPtr<uint8_t>, int, int, bool) method
获取解码缓冲区所需的字符数。
virtual int System::Text::ICUDecoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count, bool flush)
| 参数 | 类型 | 描述 |
|---|---|---|
| 字节 | ArrayPtr<uint8_t> | 待解码的字节。 |
| index | int | Buffer 偏移。 |
| count | int | 要解码的字节数。 |
| flush | bool | 如果为 true,则在计算后清除内部解码器状态。 |
ReturnValue
解码缓冲区所需的字符数。
另见
- Typedef ArrayPtr
- Class ICUDecoder
- Namespace System::Text
- Library Aspose.Font for C++
ICUDecoder::GetCharCount(const uint8_t *, int, bool) method
获取解码缓冲区所需的字符数。
virtual int System::Text::ICUDecoder::GetCharCount(const uint8_t *bytes, int count, bool flush)
| 参数 | 类型 | 描述 |
|---|---|---|
| 字节 | const uint8_t * | 待解码的字节。 |
| count | int | 要解码的字节数。 |
| flush | bool | 如果为 true,则在计算后清除内部解码器状态。 |
ReturnValue
解码缓冲区所需的字符数。
另见
- Class ICUDecoder
- Namespace System::Text
- Library Aspose.Font for C++