## UTF8Encoding::GetMaxCharCount method


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

```cpp
int System::Text::UTF8Encoding::GetMaxCharCount(int byte_count) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| byte_count | int | Number of bytes to decode. |

### ReturnValue

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

## See Also

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