Creates a PipedInputStream so that it is
connected to the piped output stream
src and uses the specified pipe size for
the pipe's buffer.
Data bytes written to src will then
be available as input from this stream.
src | the stream to connect to. | |
pipeSize | the size of the pipe's buffer. |
IOException | if an I/O error occurs. | |
IllegalArgumentException | if pipeSize <= 0. |
Diagram: InputStream