Count()
Returns the total number of items in the buffers of this stream.
阅读时间1 分钟最后更新于 2 个月前
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.