System::Text::ASCIIEncoding::GetMaxByteCount methode

ASCIIEncoding::GetMaxByteCount method

Haalt het maximale aantal bytes op dat nodig is om een string met een bekend aantal tekens op te slaan.

int System::Text::ASCIIEncoding::GetMaxByteCount(int char_count) override
ParameterTypeBeschrijving
char_countintAantal tekens.

ReturnValue

Aantal tekens voldoende om elke tekenreeks van charCount tekens te bevatten.

Zie ook