System::Text::ASCIIEncoding::GetMaxCharCount-metoden

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
ParameterTypBeskrivning
byteCountintByte antal.

ReturnValue

Antal tecken som räcker för att rymma vilken sekvens som helst av byteCount tecken.

Se även