Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Flush()

Aligns the read pointer to the next byte-aligned position. Does nothing if already aligned.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void Flush()

Remarks

If you call DataStreamWriter.Flush, call this to bit-align the reader.