# Peek<T>()

> Reads the next value from the buffer. Does not advance the reader.

## Definition

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

```csharp
public ref T Peek<T>() where T : unmanaged
```

### Returns

| Type | Description                                    |
| ---- | ---------------------------------------------- |
| T    | A reference to the next value from the buffer. |
