docs: static void checkCompact(final int serVer, final int flags) {
      final int compactFlagMask = COMPACT_FLAG_MASK | ORDERED_FLAG_MASK;
      if ((serVer != 2)
              && ((flags & EMPTY_FLAG_MASK) == 0)
              && ((flags & compactFlagMask) != compactFlagMask)) {
        throw new SketchesArgumentException(
                "Possible corruption: Must be v2, empty, or compact and ordered. Flags field: "
                        + Integer.toBinaryString(flags) + ", SerVer: " + serVer);
      }
    }