Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
var test = Base64EncodeW("test comment"); //the "test" variable will have value like "MAAzAC0AMAA3AC0AMgAwADEAOQAgADEANQA6ADMAOQA6ADQAMAA6AA0ACgB0AGUAcwB0ACAAMQANAAoAMAAzAC0AMAA3AC0AMgAwADEAOQAgADEANQA6ADQAMgA6ADIAMQA6AA0ACgB0AGUAcwB0ACAAMgA="
var res = Base64Decode(test, true); // decode from Base64 to Unicode; if false, then 0 returned
DebugLogString("--->"+res); // the debug log shall say: "test comment"

...