# UTF8MaxLengthInBytes

> Returns the maximum number of UTF-8 bytes that can be stored in this string.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static int UTF8MaxLengthInBytes { get; }
```
