Creates a BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use. An internal
buffer array of length size
is created and stored in buf.
in | the underlying input stream. | |
size | the buffer size. |
IllegalArgumentException | if size <= 0. |
Diagram: InputStream