Count()
Returns the total number of items in the buffers of this stream.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public int Count()
Returns
Type | Description |
|---|---|
| int | The total number of items in the buffers of this stream. |
Remarks
Each UnsafeStream.Writer.Write and UnsafeStream.Writer.Allocate call increments this number.