Versions Compared

Key

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

...

Code Block
var test = Base64EncodeW("test comment"); //переменная test примет значение "MAAzAC0AMAA3AC0AMgAwADEAOQAgADEANQA6ADMAOQA6ADQAMAA6AA0ACgB0AGUAcwB0ACAAMQANAAoAMAAzAC0AMAA3AC0AMgAwADEAOQAgADEANQA6ADQAMgA6ADIAMQA6AA0ACgB0AGUAcwB0ACAAMgA="
var res = Base64Decode(test, true); // декодировать строку из Base64 в Unicode; если false, то возвращается 0
DebugLogString("--->"+res); //должно быть выведено "test comment"

...