### Question:
BinaryData { public static int skipLong(final byte[] bytes, int start) { while ((bytes[start++] & 0x80) != 0) { } return start; } private  BinaryData(); static int compare(byte[] b1, int s1, byte[] b2, int s2, Schema schema); static int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2, Schema schema); static int compareBytes(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2); static int hashCode(byte[] bytes, int start, int length, Schema schema); static int skipLong(final byte[] bytes, int start); static int encodeBoolean(boolean b, byte[] buf, int pos); static int encodeInt(int n, byte[] buf, int pos); static int encodeLong(long n, byte[] buf, int pos); static int encodeFloat(float f, byte[] buf, int pos); static int encodeDouble(double d, byte[] buf, int pos);  }### Answer:
@Test public void testSkipLong() { byte[] b = new byte[10]; BinaryData.encodeLong(Long.MAX_VALUE, b, 0); final int nextIndex = BinaryData.skipLong(b, 0); Assert.assertEquals(nextIndex, 10); }