# SeekSet(int)

> Sets the current position of this stream to the given value. An error will be logged if pos is outside the length of the stream. The read position is set to the start of the given byte.

## Definition

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

```csharp
public void SeekSet(int pos)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Absolute byte offset to seek to.
