System::Text::ICUDecoder::GetChars metod

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

Hämta tecknen som resultat av att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex)
ParameterTypBeskrivning
byteArrayPtr<uint8_t>Byte att avkoda.
byteIndexintInmatningsbuffertens offset.
byteCountintStorlek på inmatningsbuffert.
teckenArrayPtr<char_t>Målbuffert för tecken.
charIndexintFörskjutning för målarray.

ReturnValue

Antal tecken skrivna.

Se även

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

Hämta tecknen som resultat av att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, bool flush)
ParameterTypBeskrivning
byteArrayPtr<uint8_t>Byte att avkoda.
byteIndexintInmatningsbuffertens offset.
byteCountintStorlek på inmatningsbuffert.
teckenArrayPtr<char_t>Målbuffert för tecken.
charIndexintFörskjutning för målarray.
spolaboolOm sant, rensar internt avkodartillstånd efter beräkning.

ReturnValue

Antal tecken skrivna.

Se även

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

Hämta tecknen som resultat av att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetChars(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush)
ParameterTypBeskrivning
byteconst uint8_t *Byte att avkoda.
byteCountintStorlek på inmatningsbuffert.
teckenchar_t *Målbuffert för tecken.
charCountintStorlek på målarray.
spolaboolOm sant, rensar internt avkodartillstånd efter beräkning.

ReturnValue

Antal tecken skrivna.

Se även