@Override
    public int readUnsignedByte() throws EOFException {
        return readByte() & 0xFF;
    }
@Test
    public void testReadUnsignedByte() throws Exception {
        byte[] bytesBE = {-1, -1, -1, -1};
        byte[] bytesLE = {-1, -1, -1, -1};
        in.init((byteOrder == BIG_ENDIAN ? bytesBE : bytesLE), 0);

        int unsigned = in.readUnsignedByte();
        int expected = 0xff;
        assertEquals(expected, unsigned);
    }