Method ReadNextArray
ReadNextArray<T>(out int)
Reads an array from the append buffer.
Declaration
public void* ReadNextArray<T>(out int length) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
int | length | 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. |
Type Parameters
Name | Description |
---|---|
T | The type of elements in the array to read. |
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).