Calculates the Base64 representation of a string or binary
object. The Base64 format uses printable characters, allowing
binary data to be sent in forms and e-mail, and stored in a
database or file.
Function TOBASE64
Example
tobase64(any strOrBin,[string encoding]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
strOrBin | any | Yes | A string, the name of a string, or a binary object. |
encoding | string | No |
For a string, defines how characters are represented in a byte array. |