GetChars()
Contents
[
Hide
]Encoding::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) method
Get the characters that result from decoding a byte buffer.
virtual int System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes, int byte_index, int byte_count, ArrayPtr<char_t> chars, int char_index)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Buffer to read bytes from. |
byte_index | int | Input buffer offset. |
byte_count | int | Input buffer size. |
chars | ArrayPtr<char_t> | Buffer to put characters to. |
char_index | int | Output buffer offset. |
Return Value
Number of written characters.
Encoding::GetChars(ArrayPtr<uint8_t>, int, int) method
Get the characters that result from decoding a byte buffer.
virtual ArrayPtr<char_t> System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes, int index, int count)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Buffer to read bytes from. |
index | int | Input buffer offset. |
count | int | Input buffer size. |
Return Value
Buffer of decoded characters.
Encoding::GetChars(ArrayPtr<uint8_t>) method
Get the characters that result from decoding a byte buffer.
virtual ArrayPtr<char_t> System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | ArrayPtr<uint8_t> | Buffer to read bytes from. |
Return Value
Buffer of decoded characters.
Encoding::GetChars(const uint8_t *, int, char_t *, int) method
Get the characters that result from decoding a byte buffer.
virtual int System::Text::Encoding::GetChars(const uint8_t *bytes, int byte_count, char_t *chars, int char_count)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | const uint8_t * | Buffer to read bytes from. |
byte_count | int | Input buffer size. |
chars | char_t * | Buffer to put characters to. |
char_count | int | Output buffer size. |
Return Value
Number of written characters.
See Also
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Slides