## Encoding::GetMaxCharCount method


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

```cpp
virtual int System::Text::Encoding::GetMaxCharCount(int byte_count)=0
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| byte_count | int | 要解码的字节数。 |

### ReturnValue

足以解码给定字符长度的任意字符串的字节数。

## 另见

* Class [Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
