The util.Strings class / util.Strings methods |
Converts the content of a file to a Base64 encoded string.
util.Strings.base64Encode( filename STRING ) RETURNING result STRING
The util.Strings.base64Encode() method reads the content of the file passed as parameter, and converts the bytes to a Base64 encoded string.
IMPORT util MAIN DISPLAY util.Strings.base64Encode( "picture.png" ) END MAIN