System::Text::ICUEncoder::GetByteCount metod

ICUEncoder::GetByteCount(ArrayPtr<char_t>, int, int, bool) method

Hämtar antalet byte som behövs för att koda en buffert.

virtual int System::Text::ICUEncoder::GetByteCount(ArrayPtr<char_t> chars, int index, int count, bool flush)
ParameterTypeBeskrivning
charsArrayPtr<char_t>Tecken att koda.
indexintBuffer förskjutning.
countintAntal tecken att koda.
flushboolOm true, rensar det interna kodarens tillstånd efter beräkning.

ReturnValue

Antal byte som krävs för att koda bufferten.

Se även

ICUEncoder::GetByteCount(const char_t *, int, bool) method

Hämtar antalet byte som behövs för att koda en buffert.

virtual int System::Text::ICUEncoder::GetByteCount(const char_t *chars, int count, bool flush)
ParameterTypeBeskrivning
charsconst char_t *Tecken att koda.
countintAntal tecken att koda.
flushboolOm true, rensar det interna kodarens tillstånd efter beräkning.

ReturnValue

Antal byte som krävs för att koda bufferten.

Se även