System::Text::Decoder::GetCharCount metod

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

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

virtual int System::Text::Decoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypeBeskrivning
bytesArrayPtr<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

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

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

virtual int System::Text::Decoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count, bool flush)
ParameterTypeBeskrivning
bytesArrayPtr<uint8_t>Byte att avkoda.
indexintBuffer förskjutning.
countintAntal byte att avkoda.
flushboolOm sant, rensar det interna avkodartillståndet efter beräkning.

ReturnValue

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

Se även

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

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

virtual int System::Text::Decoder::GetCharCount(const uint8_t *bytes, int count, bool flush)
ParameterTypeBeskrivning
bytesconst uint8_t *Byte att avkoda.
countintAntal byte att avkoda.
flushboolOm sant, rensar det interna avkodartillståndet efter beräkning.

ReturnValue

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

Se även