Reads up to buffer.length elements from the wrapped input stream, and writes them to buffer.
The buffer to read elements into.
Either the number of elements read, or a stream error.
See Implementation
Reads up to buffer.length elements from the wrapped input stream, and writes them to buffer.