GetByteCount()
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)
Arguments
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. |
Return Value
Number of bytes required to encode the buffer.
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)
Arguments
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. |
Return Value
Number of bytes required to encode the buffer.
See Also
- Typedef ArrayPtr
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.Slides