# GetUnsafeReader()

> Returns the internal unsafe stream reader.

## Definition

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

```csharp
public UnsafeStream.Reader GetUnsafeReader()
```

### Returns

| Type                                                                                               | Description                        |
| -------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [Reader](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafestream/reader.md) | The internal unsafe stream reader. |

### Remarks

Internally, the NativeStream.Reader uses an unsafe stream reader for access to the stream content.
