System::Text::ICUEncoding::GetChars method

ICUEncoding::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)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.

ReturnValue

Buffer of decoded characters.

See Also

ICUEncoding::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)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.
byte_indexintInput buffer offset.
byte_countintInput buffer size.
charsArrayPtr<char_t>Buffer to put characters to.
char_indexintOutput buffer offset.

ReturnValue

Number of written characters.

See Also

ICUEncoding::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)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

ReturnValue

Buffer of decoded characters.

See Also

ICUEncoding::GetChars(const uint8_t *, int, char_t *, int) method

Get the characters that result from decoding a byte buffer.

int System::Text::ICUEncoding::GetChars(const uint8_t *bytes, int byte_count, char_t *chars, int char_count) override
ParameterTypeDescription
bytesconst uint8_t *Buffer to read bytes from.
byte_countintInput buffer size.
charschar_t *Buffer to put characters to.
char_countintOutput buffer size.

ReturnValue

Number of written characters.

See Also