Reads bytes from start to end into the provided out buffer, or fails if the channel has been closed.
Suspension occurs when there are not enough bytes available in the channel.
Report a problem
the buffer to write to
the index to start writing at
the index to write until