# Flush()

> Aligns the read pointer to the next byte-aligned position. Does nothing if already aligned.

## Definition

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

```csharp
public void Flush()
```

### Remarks

If you call [DataStreamWriter.Flush](/engine/6000.7/script-reference/unity/collections/datastreamwriter/flush.md), call this to bit-align the reader.
