Code example for PipedInputStream

Methods: read

0
        return bis.read(b, off, len);
    } 
     
    @Override 
    public int read(byte[] b) throws IOException {
        return bis.read(b, 0, b.length);
    } 
     
    @Override 
    public long skip(long n) throws IOException {
        return bis.skip(n);
    } 
     
    @Override 
    public void reset() throws IOException { 
        bis.reset();
    } 
     
    @Override 
    public int read() throws IOException {