System::Text::ICUDecoder::GetChars method

ICUDecoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) method

Get the characters that result from decoding a buffer.

virtual int System::Text::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes to decode.
byteIndexintInput buffer offset.
byteCountintInput buffer size.
charsArrayPtr<char_t>Destination character buffer.
charIndexintDestination array offset.

ReturnValue

Number of characters written.

See Also

ICUDecoder::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::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, bool flush)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes to decode.
byteIndexintInput buffer offset.
byteCountintInput buffer size.
charsArrayPtr<char_t>Destination character buffer.
charIndexintDestination array offset.
flushboolIf true, cleans internal decoder state after calculation.

ReturnValue

Number of characters written.

See Also

ICUDecoder::GetChars(const uint8_t *, int, char_t *, int, bool) method

Get the characters that result from decoding a buffer.

virtual int System::Text::ICUDecoder::GetChars(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush)
ParameterTypeDescription
bytesconst uint8_t *Bytes to decode.
byteCountintInput buffer size.
charschar_t *Destination character buffer.
charCountintDestination array size.
flushboolIf true, cleans internal decoder state after calculation.

ReturnValue

Number of characters written.

See Also