ReadNextArray<T>(out int)
Reads an array from the append buffer.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
ReadNextArray<T>(int)
public void* ReadNextArray<T>(out int length) where T : unmanaged
Parameters
Output which is the number of elements in the read array.
Returns
Type | Description |
|---|---|
| void* | A pointer to where the first element of the read array resides in the append buffer. |
Remarks
An array stored in the append buffer starts with an int specifying the number of values in the array. The first element of an array immediately follows this int.
Advances the reader's offset by the size of the array (plus an int).