Code example for ByteArrayInputStream

Methods: available

0
		this.bais = bais;
	} 
 
	@Override 
	public int available() { 
		return bais.available();
	} 
 
	@Override 
	public int read() { 
		return bais.read();
	} 
 
	@Override 
	public int read(byte[] buf, int off, int len) {
		return bais.read(buf, off, len);
	} 
 
}