Creates a PushbackInputStream
with a pushback buffer of the specified size,
and saves its argument, the input stream
in, for later use. Initially,
the pushback buffer is empty.
in | the input stream from which bytes will be read. | |
size | the size of the pushback buffer. |
IllegalArgumentException | if size <= 0 |
Diagram: InputStream