| Parameter | Description |
|---|---|
| allocator | The allocator to use. |
NativeArray<T> A new NativeArray copy of this stream's data.
Returns a new NativeArray copy of this stream's data.
The length of the array will equal the count of this stream.
Each buffer of this stream is copied to the array, one after the other.