Fills the preallocated array 'bytes' with data from the stream.
abstract ulong read
scope ubyte dst,
final abstract void read
scope ubyte dst
This function will continue read from the stream until the buffer has been fully filled.
|The buffer into which to write the data that was read
| Optional reading mode (defaults to
Returns the number of bytes read. The
dst buffer will be filled up
to this index. The return value is guaranteed to be
An exception if the operation reads past the end of the stream