# GetUnsafePtr()

> Returns a pointer to the content of this IUTF8Bytes.

## Definition

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

```csharp
byte* GetUnsafePtr()
```

### Returns

| Type                                                         | Description                                  |
| ------------------------------------------------------------ | -------------------------------------------- |
| [byte\*](https://learn.microsoft.com/dotnet/api/system.byte) | A pointer to the content of this IUTF8Bytes. |

### Remarks

The pointer may point to stack memory.
