}
public void testInputWithOffset () throws Exception {
final byte[] buf = new byte[30];
final Input in = new Input(buf, 10, 10);
assertEquals(10, in.available());
}
public void testSmallBuffers () throws Exception {
ByteBuffer buf = ByteBuffer.allocate(1024);
ByteBufferOutputStream byteBufferOutputStream = new ByteBufferOutputStream(buf);