Unity Engine documentationScript ReferenceUnity.CollectionsDataStreamWriterClear()Moves the write position to the start of the data buffer used.Read time 1 minuteLast updated 13 days agoDefinition Type: Method Namespace: Unity.Collections Assembly: UnityEngine.ManagedKernelModule public void Clear()