System::Text::Decoder::GetChars metod

Decoder::GetChars(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int) method

Hämta tecknen som resultat av att avkoda en buffert.

virtual int System::Text::Decoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex)
ParameterTypeBeskrivning
bytesArrayPtr<uint8_t>Byte att avkoda.
byteIndexintInmatningsbuffertens offset.
byteCountintStorlek på inmatningsbuffert.
charsArrayPtr<char_t>Destinationsteckenbuffert.
charIndexintOffset för destinationsarray.

ReturnValue

Antal skrivna tecken.

Se även

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

Hämta tecknen som resultat av att avkoda en buffert.

virtual int System::Text::Decoder::GetChars(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, bool flush)
ParameterTypeBeskrivning
bytesArrayPtr<uint8_t>Byte att avkoda.
byteIndexintInmatningsbuffertens offset.
byteCountintStorlek på inmatningsbuffert.
charsArrayPtr<char_t>Destinationsteckenbuffert.
charIndexintOffset för destinationsarray.
flushboolOm sant, rensar det interna avkodartillståndet efter beräkning.

ReturnValue

Antal skrivna tecken.

Se även

Decoder::GetChars(const uint8_t *, int, char_t *, int, bool) method

Hämta tecknen som resultat av att avkoda en buffert.

virtual int System::Text::Decoder::GetChars(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush)
ParameterTypeBeskrivning
bytesconst uint8_t *Byte att avkoda.
byteCountintStorlek på inmatningsbuffert.
charschar_t *Destinationsteckenbuffert.
charCountintStorlek på destinationsarrayen.
flushboolOm sant, rensar det interna avkodartillståndet efter beräkning.

ReturnValue

Antal skrivna tecken.

Se även