System::Text::Encoder::GetByteCount methode

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

Haalt het aantal bytes op dat nodig is om een buffer te coderen.

virtual int System::Text::Encoder::GetByteCount(ArrayPtr<char_t> chars, int index, int count, bool flush)
ParameterTypeBeschrijving
tekensArrayPtr<char_t>Tekens om te coderen.
indexintBuffer offset.
countintAantal tekens om te coderen.
flushboolIndien true, wordt de interne encoderstatus na de berekening opgeschoond.

ReturnValue

Aantal bytes dat nodig is om de buffer te coderen.

Zie ook

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

Haalt het aantal bytes op dat nodig is om een buffer te coderen.

virtual int System::Text::Encoder::GetByteCount(const char_t *chars, int count, bool flush)
ParameterTypeBeschrijving
tekensconst char_t *Tekens om te coderen.
countintAantal tekens om te coderen.
flushboolIndien true, wordt de interne encoderstatus na de berekening opgeschoond.

ReturnValue

Aantal bytes dat nodig is om de buffer te coderen.

Zie ook