spillBuffer.markEndOfRecord();
}
spillBuffer.putInt(100);
assertEquals(spillBuffer.getMarkofLastRecord(), 400);
assertEquals(spillBuffer.remaining(), (512 - 404));
spillBuffer.flip();
assertEquals(spillBuffer.remaining(), 404);
assertEquals(spillBuffer.getMarkofLastRecord(), 400);
}