Code example for PipedInputStream

Methods: available, read