streamthe piped input stream to connect to.
TypeReasonJava.IO.IOExceptionif either stream is already connected.
Connects this stream to a Java.IO.PipedInputStream. Any data written to this output stream becomes readable in the input stream.
[Android Documentation]