private static int skipSignificand(PositionedByteRange src, boolean comp) {
    byte[] a = src.getBytes();
    final int offset = src.getOffset(), start = src.getPosition();
    int i = src.getPosition();
    while (((comp ? DESCENDING : ASCENDING).apply(a[offset + i++]) & 1) != 0)
      ;
    src.setPosition(i);
    return i - start;
  }
Skip {@code src} over the significand bytes.
@param src  The source from which to read encoded digits.
@param comp Treat encoded bytes as compliments when {@code comp} is true.
@return the number of bytes skipped.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/OrderedBytes.java