ZsyncUtil { public static int toInt(short x, short y) { return (x << 16) | (y & 0xffff); }  static String toHexString(ByteBuffer buffer); static int computeRsum(byte[] block); static int toInt(short x, short y); static long toLong(int x, int y); static short unsigned(byte b); static String computeSha1(ReadableByteChannel channel); static MessageDigest newMD4(); static MessageDigest newSHA1(); static Path getPath(URI uri);  }
@Test public void testToInt() { assertEquals(65537, ZsyncUtil.toInt((short) 1, (short) 1)); }