goja-core/src/main/java/goja/core/libs/Codec.java
public static byte[] decodeBASE64(String value) {
        try {
            return Base64.decodeBase64(value.getBytes(StringPool.UTF_8));
        } catch (UnsupportedEncodingException ex) {
            throw new UnexpectedException(ex);
        }
    }
public static byte[] decodeBASE64(String value) {
        try {
            return Base64.decodeBase64(value.getBytes(StringPool.UTF_8));
        } catch (UnsupportedEncodingException ex) {
            throw new UnexpectedException(ex);
        }
    }
Decode a base64 value

@param value The base64 encoded String
@return decoded binary data