public static String encode(String uuidString) {
        Objects.requireNonNull(uuidString, "uuidString");

        UUID uuid = UUID.fromString(uuidString);
        return encode(uuid);
    }
Base64 encodes the given {@code uuidString} into URL and filename safe string as specified by RFC 4648 section 5.
The returned string is guaranteed to be 22 characters long (with 2 pad characters "=" removed) as a valid UUID
string will always be encoded into the same length.

@param uuidString uuid string to encode
@return URL and filename safe base64 encoded string with pad characters removed

@throws NullPointerException if {@code uuidString} is null
@throws IllegalArgumentException if {@code uuidString} is not a valid string representation of uuid
commons-profiler/src/main/java/com/navercorp/pinpoint/common/profiler/name/Base64Utils.java