System::Text::ICUEncoder::GetByteCount method
Contents
[
Hide
]ICUEncoder::GetByteCount(ArrayPtr<char_t>, int, int, bool) method
Gets the number of bytes needed to encode a buffer.
virtual int System::Text::ICUEncoder::GetByteCount(ArrayPtr<char_t> chars, int index, int count, bool flush)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
index | int | Buffer offset. |
count | int | Number of characters to encode. |
flush | bool | If true, cleans internal encoder state after calculation. |
ReturnValue
Number of bytes required to encode the buffer.
See Also
- Typedef ArrayPtr
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.TeX for C++
ICUEncoder::GetByteCount(const char_t *, int, bool) method
Gets the number of bytes needed to encode a buffer.
virtual int System::Text::ICUEncoder::GetByteCount(const char_t *chars, int count, bool flush)
Parameter | Type | Description |
---|---|---|
chars | const char_t * | Characters to encode. |
count | int | Number of characters to encode. |
flush | bool | If true, cleans internal encoder state after calculation. |
ReturnValue
Number of bytes required to encode the buffer.
See Also
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.TeX for C++