ByteBufferInput inputBuffer = new ByteBufferInput(outputBuffer.getByteBuffer());
inputBuffer.readInt();
inputBuffer.release();
outputBuffer.release();
outputBuffer = new UnsafeMemoryOutput(bufAddress, 4096);
outputBuffer.writeInt(10);
inputBuffer = new UnsafeMemoryInput(outputBuffer.getByteBuffer());
inputBuffer.readInt();