## ICUEncoding::GetMaxByteCount method


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

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


| Parameter | Type | Description |
| --- | --- | --- |
| char_count | int | Number of characters to encode. |

### ReturnValue

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

## See Also

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