Continously reads an input stream into an in-memory buffer, until 0 elements could be read, or an error occurs.
The stream to read from.
The size of the internal buffer to use for reading.
The full contents of the stream.
See Implementation
Continously reads an input stream into an in-memory buffer, until 0 elements could be read, or an error occurs.