testInputs.setByteBuffer(buf);
Input input = new Input(testInputs, 512);
byte[] toRead = new byte[512];
input.readBytes(toRead);
input.readBytes(toRead);
}
public void testVerySmallBuffers() throws Exception {
Output out1 = new Output(4, -1);
Output out2 = new ByteBufferOutput(4, -1);