docs: public static int requireUnsignedMedium(int i) {
      if (i > UNSIGNED_MEDIUM_MAX_VALUE) {
        throw new IllegalArgumentException(
            String.format("%d is larger than %d bits", i, UNSIGNED_MEDIUM_SIZE));
      }
  
      return i;
    }