System::Text::ICUEncoding::GetCharCount metod

ICUEncoding::GetCharCount(ArrayPtr<uint8_t>) method

Hämta antalet tecken som behövs för att avkoda en bytebuffert.

virtual int System::Text::Encoding::GetCharCount(ArrayPtr<uint8_t> bytes)
ParameterTypeBeskrivning
bytesArrayPtr<uint8_t>Byte att avkoda.

ReturnValue

Antal tecken.

Se även

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

Hämta antalet tecken som behövs för att avkoda en bytebuffert.

virtual int System::Text::Encoding::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypeBeskrivning
bytesArrayPtr<uint8_t>Byte att avkoda.
indexintSkivans början.
countintSlice storlek.

ReturnValue

Antal tecken.

Se även

ICUEncoding::GetCharCount(const uint8_t *, int) method

Hämta antalet tecken som behövs för att avkoda en bytebuffert.

int System::Text::ICUEncoding::GetCharCount(const uint8_t *bytes, int count) override
ParameterTypeBeskrivning
bytesconst uint8_t *Byte att avkoda.
countintAntal byte.

ReturnValue

Antal tecken.

Se även