@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object stringObj = stringParser.parse(sourceData, rowIndex, context);
        if (stringObj == null) {
            return null;
        }
        String encodedString = OperatorTools.parseString(stringObj);

        if (encodedString == null) {
            return null;
        }

        try {
            byte[] decodedBytes = Base64.getDecoder().decode(encodedString);
            return new String(decodedBytes, StandardCharsets.UTF_8);
        } catch (IllegalArgumentException e) {
            // handle decoding exceptions and log exception information
            throw new RuntimeException("Invalid Base64 input: " + encodedString, e);
        }
    }
FromBase64Function  ->  from_base64(base64Str)
description:
- Return NULL if base64Str is NULL
- Return the base64-decoded result from string
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/encryption/FromBase64Function.java