Method Clear Clear() Sets the buffer length to zero. Declaration public void Clear() Implements INativeList<T>.Clear() Remarks The capacity of the buffer remains unchanged. Buffer memory is not overwritten. Examples buffer.Clear();