| The util.Strings class / util.Strings methods | |
Decodes a Base64 encoded string and writes the bytes to a file.
util.Strings.base64Decode( source STRING, filename STRING )
The util.Strings.base64Decode() method converts the Base64 encoded string passed as first parameter, and writes the bytes to file specified as second parameter.
IMPORT util
MAIN
DEFINE base64 STRING
LET base64 = util.Strings.base64Encode( "picture1.png" )
DISPLAY base64
CALL util.Strings.base64Decode( base64, "picture2.png" )
END MAIN