## ASCIIEncoding::GetMaxByteCount method


获取已知字符计数的字符串可能占用的最大字节数。

```cpp
int System::Text::ASCIIEncoding::GetMaxByteCount(int char_count) override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| char_count | int | 字符计数。 |

### ReturnValue

足以容纳任意 **charCount** 个字符的字符串的字符数。

## 另见

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