# IUTF8Bytes

> An interface for a sequence of UTF-8 encoded text.

## Definition

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

```csharp
public interface IUTF8Bytes
```

## Properties

| Property                                                                           | Description                       |
| ---------------------------------------------------------------------------------- | --------------------------------- |
| [IsEmpty](/engine/6000.7/script-reference/unity/collections/iutf8bytes/isempty.md) | Whether this IUTF8Bytes is empty. |

## Methods

| Method                                                                                       | Description                                                             |
| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [GetUnsafePtr](/engine/6000.7/script-reference/unity/collections/iutf8bytes/getunsafeptr.md) | Returns a pointer to the content of this IUTF8Bytes.                    |
| [TryResize](/engine/6000.7/script-reference/unity/collections/iutf8bytes/tryresize.md)       | Attempt to set the length in bytes of this IUTF8Bytes's content buffer. |
