System::Text::ICUEncoding::GetChars metod

ICUEncoding::GetChars(ArrayPtr<uint8_t>) method

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

virtual ArrayPtr<char_t> System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes)
ParameterTypBeskrivning
bytesArrayPtr<uint8_t>Buffer för att läsa byte från.

ReturnValue

Buffer of decoded characters.

Se även

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

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

virtual int System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes, int byte_index, int byte_count, ArrayPtr<char_t> chars, int char_index)
ParameterTypBeskrivning
bytesArrayPtr<uint8_t>Buffer för att läsa byte från.
byte_indexintInmatningsbuffertens offset.
byte_countintStorlek på inmatningsbuffert.
charsArrayPtr<char_t>Buffer för att lägga tecken i.
char_indexintUtdatabuffertens offset.

ReturnValue

Antal skrivna tecken.

Se även

ICUEncoding::GetChars(ArrayPtr<uint8_t>, int, int) method

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

virtual ArrayPtr<char_t> System::Text::Encoding::GetChars(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypBeskrivning
bytesArrayPtr<uint8_t>Buffer för att läsa byte från.
indexintInmatningsbuffertens offset.
countintStorlek på inmatningsbuffert.

ReturnValue

Buffer of decoded characters.

Se även

ICUEncoding::GetChars(const uint8_t *, int, char_t *, int) method

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

int System::Text::ICUEncoding::GetChars(const uint8_t *bytes, int byte_count, char_t *chars, int char_count) override
ParameterTypBeskrivning
bytesconst uint8_t *Buffer för att läsa byte från.
byte_countintStorlek på inmatningsbuffert.
charschar_t *Buffer för att lägga tecken i.
char_countintStorlek på utdata-buffert.

ReturnValue

Antal skrivna tecken.

Se även