@Test
public void testWriteInt () {

    ByteBuffer intBuffer = ByteBuffer.allocate(4);
    ReadWrite.writeInt(42, intBuffer, 0);
    Assert.assertTrue(ReadWrite.readUnsignedInt(intBuffer, 0) == 42);
}