docs: public static short getQualifierLength(final byte[] qualifier, 
        final int offset) {
      validateQualifier(qualifier, offset);    
      if ((qualifier[offset] & Const.MS_BYTE_FLAG) == Const.MS_BYTE_FLAG) {
        if ((offset + 4) > qualifier.length) {
          throw new IllegalArgumentException(
              "Detected a millisecond flag but qualifier length is too short");
        }
        return 4;
      } else {
        if ((offset + 2) > qualifier.length) {
          throw new IllegalArgumentException("Qualifier length is too short");
        }
        return 2;
      }
    }