GetMaxCharCount()

ICUEncoding::GetMaxCharCount(int) method

Get the maximum number of characters needed to decode a specified number of bytes.

int System::Text::ICUEncoding::GetMaxCharCount(int byte_count) override

Arguments

ParameterTypeDescription
byte_countintNumber of bytes to decode.

Return Value

Number of bytes sufficient to decode any string of given character length.

See Also