System::Text::Decoder::GetCharCount methode

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

Haalt het aantal tekens op dat nodig is om een buffer te decoderen.

virtual int System::Text::Decoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypeBeschrijving
bytesArrayPtr<uint8_t>Bytes om te decoderen.
indexintBuffer offset.
countintAantal bytes om te decoderen.

ReturnValue

Aantal tekens dat nodig is om de buffer te decoderen.

Zie ook

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

Haalt het aantal tekens op dat nodig is om een buffer te decoderen.

virtual int System::Text::Decoder::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count, bool flush)
ParameterTypeBeschrijving
bytesArrayPtr<uint8_t>Bytes om te decoderen.
indexintBuffer offset.
countintAantal bytes om te decoderen.
flushboolIndien waar, wordt de interne decoderstatus na de berekening opgeschoond.

ReturnValue

Aantal tekens dat nodig is om de buffer te decoderen.

Zie ook

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

Haalt het aantal tekens op dat nodig is om een buffer te decoderen.

virtual int System::Text::Decoder::GetCharCount(const uint8_t *bytes, int count, bool flush)
ParameterTypeBeschrijving
bytesconst uint8_t *Bytes om te decoderen.
countintAantal bytes om te decoderen.
flushboolIndien waar, wordt de interne decoderstatus na de berekening opgeschoond.

ReturnValue

Aantal tekens dat nodig is om de buffer te decoderen.

Zie ook