System::Text::ASCIIEncoding::GetMaxCharCount 方法

ASCIIEncoding::GetMaxCharCount method

获取解码指定字节数所需的最大字符数。

int System::Text::ASCIIEncoding::GetMaxCharCount(int byteCount) override
ParameterType描述
byteCountintByte 计数。

ReturnValue

足以容纳任意 byteCount 个字符序列的字符数。

另见