@Override
    public final int readInt() throws EOFException {
        final int i = readInt(pos);
        pos += INT_SIZE_IN_BYTES;
        return i;
    }
@Test
    public void testReadIntForPositionByteOrder() throws Exception {
        int readInt1 = in.readInt(1, BIG_ENDIAN);
        int readInt2 = in.readInt(5, LITTLE_ENDIAN);
        int theInt1 = Bits.readInt(INIT_DATA, 1, true);
        int theInt2 = Bits.readInt(INIT_DATA, 5, false);
        assertEquals(theInt1, readInt1);
        assertEquals(theInt2, readInt2);
    }