public static void maxBytes(@Nullable byte[] bytes, String name, int max) {
        if (bytes != null && bytes.length > max) {
            throw ResponseException.get(ResponseStatusCode.ILLEGAL_ARGUMENT,
                    ("\""
                            + name
                            + "\" must have length less than "
                            + max).intern());
        }
    }
@param min if -1, it means the string cannot be null
turms-server-common/src/main/java/im/turms/server/common/infra/validation/Validator.java