    @Test
    public void testReadUbyte() {

        byte[] buf = new byte[1];
        BaseDexBuffer dexBuf = new BaseDexBuffer(buf);

        for (int i=0; i<=0xff; i++) {
            buf[0] = (byte)i;
            Assert.assertEquals(i, dexBuf.readUbyte(0));
        }
    }