# GetUnsafeReadOnlyPtr()

> Get a pointer to the data.

## Definition

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

```csharp
public readonly T* GetUnsafeReadOnlyPtr()
```

### Returns

| Type            | Description            |
| --------------- | ---------------------- |
| [\<T>\*](./.md) | A pointer to the data. |

### Remarks

When container has safety checks enabled it performs a job safety check for read-only access.
