Go to documentation repository
The Base64Decode method is used for decoding the lines to decode strings that are coded encoded by the Base64 scheme.
Method call syntaxSyntax for method invocation:
| Code Block | ||
|---|---|---|
| ||
function Base64Decode(data_in: String, WideChar: Boolean) |
Method arguments:
Usage examples
Decode the line that is set in Base64 by starting macro №1Example. On macro 1, decode the string specified in Base64. Output the decoding result into in the debug windows window of the Editor-Debugger utility . (Result the result is « the "Axxon PSIM JAVA SCRIPT» line JScript" string).
| Code Block | ||
|---|---|---|
| ||
if (Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN")
{
var str = Base64Decode("SW50ZWxsZWN0IEpTY3JpcHQ= ", 0);
DebugLogString(str);
} |
...