| Parameter | Description |
|---|---|
| array | Buffer to write the string bytes to. |
ushort Length of data read into byte array, or zero if error occurred.
Read and copy data into the given NativeArray of bytes, an error will be logged if not enough bytes are available in the array.