System::Text::Decoder::GetChars method
Contents
[
Hide
]Decoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) method
Get the characters that result from decoding a buffer.
virtual int System::Text::Decoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex)
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Bytes to decode. |
byteIndex | int | Input buffer offset. |
byteCount | int | Input buffer size. |
chars | ArrayPtr<char_t> | Destination character buffer. |
charIndex | int | Destination array offset. |
ReturnValue
Number of characters written.
See Also
- Typedef ArrayPtr
- Class Decoder
- Namespace System::Text
- Library Aspose.PUB for C++
Decoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, bool) method
Get the characters that result from decoding a buffer.
virtual int System::Text::Decoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, bool flush)
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Bytes to decode. |
byteIndex | int | Input buffer offset. |
byteCount | int | Input buffer size. |
chars | ArrayPtr<char_t> | Destination character buffer. |
charIndex | int | Destination array offset. |
flush | bool | If true, cleans internal decoder state after calculation. |
ReturnValue
Number of characters written.
See Also
- Typedef ArrayPtr
- Class Decoder
- Namespace System::Text
- Library Aspose.PUB for C++
Decoder::GetChars(const uint8_t *, int, char_t *, int, bool) method
Get the characters that result from decoding a buffer.
virtual int System::Text::Decoder::GetChars(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush)
Parameter | Type | Description |
---|---|---|
bytes | const uint8_t * | Bytes to decode. |
byteCount | int | Input buffer size. |
chars | char_t * | Destination character buffer. |
charCount | int | Destination array size. |
flush | bool | If true, cleans internal decoder state after calculation. |
ReturnValue
Number of characters written.
See Also
- Class Decoder
- Namespace System::Text
- Library Aspose.PUB for C++