Reads data from the stream.
Buffer to write to.
Size of a single unit of data in bytes
The amount of units to write to the buffer.
The stream to read from.
The amount of elements read.
See Implementation
Reads data from the stream.