A buffered wrapper around another input stream, that buffers data that's been read into an internal buffer, so that calls to readToStream don't all necessitate reading from the underlying resource.
Constructs a buffered input stream to buffer reads from the given stream.
Reads elements into the given buffer, first pulling from this buffered stream's internal buffer, and then reading from the underlying stream.
See Implementation
A buffered wrapper around another input stream, that buffers data that's been read into an internal buffer, so that calls to readToStream don't all necessitate reading from the underlying resource.