ZsyncUtil { public static long toLong(int x, int y) { return (((long) x) << 32) | (y & 0xffffffffL); }  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 testToLong() { assertEquals(4294967297l, ZsyncUtil.toLong(1, 1)); }