ToBase64
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.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| A string or a binary object. | |
|
|
| The character encoding (character set) of the string, used with binary data. |
|
Examples
Related
Last updated