| Parameter | Description |
|---|---|
| array | Array to copy data into. |
Read and copy data into the given NativeArray of bytes. An error will be logged if not enough bytes are available to fill the array, and DataStreamReader.HasFailedReads will then be true.
| Parameter | Description |
|---|---|
| span | Span to copy data into. |
Read and copy data into the given Span of bytes. An error will
be logged if not enough bytes are available to fill the array, and
DataStreamReader.HasFailedReads will then be true.