BeginForEachIndex(int)
Readies this reader to read a particular buffer of the stream.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public int BeginForEachIndex(int foreachIndex)
Parameters
The index of the buffer to read.
Returns
Type | Description |
|---|---|
| int | The number of elements left to read from the buffer. |
Remarks
Must be called before using this reader. For an individual reader, call this method only once.
When done using this reader, you must call NativeStream.Reader.EndForEachIndex.