Code example for ByteArrayInputStream

Methods: available

0
 
    /** 
     * @see ByteArrayInputStream#available() 
     */ 
    public int available() { 
        return bais.available();
    } 
 
    /** 
     * @see ByteArrayInputStream#read() 
     */ 
    public int read() { 
        return bais.read();
    } 
 
    /** 
     * @see ByteArrayInputStream#read(byte[], int, int) 
     */ 
    public int read(byte[] buf, int off, int len) {
        return bais.read(buf, off, len);
    }