@B64ENCODE[s,string] : Encode a base 64 string (MIME encoding format). Returns the encoded string

@B64ENCODE[inputfile,outputfile] : Encode a base 64 file (MIME encoding format). Returns 0 if the output file was successfully written.

 

Example:

 

echo %@b64encode[s,this is a string]

dGhpcyBpcyBhIHN0cmluZw==

 

echo %@b64encode[data.file,date.file.b64]