System::Text::Encoding::GetCharCount metod

Encoding::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

Encoding::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

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

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

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

ReturnValue

Antal tecken.

Se även