public static Encoding getEncoding(EncodingType encodingType) {
        Encoding enc = registry.getEncoding(encodingType);
        return enc;
    }
Get an Encoding object by Encoding type

@param encodingType
@return Encoding
api/src/main/java/com/theokanning/openai/utils/TikTokensUtil.java