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