public static int readUnsignedMediumLittleEndian(byte[] data, int index) {
        int result = (data[index] & 0xFF) | ((data[index + 1] & 0xFF) << 8) | ((data[index + 2] & 0xFF) << 16);
        return result;
    }
@Test
	public void testReadUnsignedMediumLittleEndian() {
		Assert.assertEquals(0,
			ByteHelper.readUnsignedMediumLittleEndian(new byte[] {0, 0, 0}, 0));
	}