System::Text::ICUDecoder::GetCharCount-metoden

ICUDecoder::GetCharCount(ArrayPtr<uint8_t>, int, int) method

Hämtar antalet tecken som behövs för att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypBeskrivning
byteArrayPtr<uint8_t>Byte att avkoda.
indexintBuffer förskjutning.
countintAntal byte att avkoda.

ReturnValue

Antal tecken som krävs för att avkoda bufferten.

Se även

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

Hämtar antalet tecken som behövs för att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count, bool flush)
ParameterTypBeskrivning
byteArrayPtr<uint8_t>Byte att avkoda.
indexintBuffer förskjutning.
countintAntal byte att avkoda.
spolaboolOm sant, rensar internt avkodartillstånd efter beräkning.

ReturnValue

Antal tecken som krävs för att avkoda bufferten.

Se även

ICUDecoder::GetCharCount(const uint8_t *, int, bool) method

Hämtar antalet tecken som behövs för att avkoda en buffer.

virtual int System::Text::ICUDecoder::GetCharCount(const uint8_t *bytes, int count, bool flush)
ParameterTypBeskrivning
byteconst uint8_t *Byte att avkoda.
countintAntal byte att avkoda.
spolaboolOm sant, rensar internt avkodartillstånd efter beräkning.

ReturnValue

Antal tecken som krävs för att avkoda bufferten.

Se även