Two new functions have been added to the casemaster function handler: file2base64() and base642file(). Designed to translate a file to a base64 string and convert a base64 string to a file.
casemaster.file2base64( <filename:string> ) returns the base64 string for a (binary) file and
casemaster.base642file( <base64:string>, <filename:string> ) creates a binary file whose content is taken from a base64 string.
The routines can be used to transfer file content as MIME.
Happy base64-ing!
casemaster.base642file( <base64:string>, <filename:string> ) creates a binary file whose content is taken from a base64 string.
The routines can be used to transfer file content as MIME.
Happy base64-ing!