public static int skipLong(final byte[] bytes, int start) {
    while ((bytes[start++] & 0x80) != 0) {
    }
    return start;
  }
@Test
  void skipLong() {
    byte[] b = new byte[10];
    BinaryData.encodeLong(Long.MAX_VALUE, b, 0);

    final int nextIndex = BinaryData.skipLong(b, 0);

    assertEquals(nextIndex, 10);
  }