ToBase64()

This takes in a string/binary object and attempts to convert it to a Base64 string

Usage

STRING = ToBase64( string, encoding )
Argument Summary
string string/binary
encoding encoding [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

ToBase64(
   string=?, 
   encoding=?
);

Supports passing parameters as a structure using ArgumentCollection:

ToBase64( ArgumentCollection={
   string : ?, 
   encoding : ?
} );