System::Text::ASCIIEncoding::GetMaxCharCount metod

ASCIIEncoding::GetMaxCharCount method

Hämta det maximala antalet tecken som behövs för att avkoda ett angivet antal byte.

int System::Text::ASCIIEncoding::GetMaxCharCount(int byteCount) override
ParameterTypeBeskrivning
byteCountintByte antal.

ReturnValue

Antal tecken som räcker för att rymma en godtycklig sekvens av byteCount tecken.

Se även