f$base64encode
f$base64encode
Encoding the internal binary buffer as base64. This internal buffer is used to process binary data from files or database fields. If these binary data are to be transferred to other systems, they must be converted into a machine-readable form. This encoding is also used when sending e-mail attachments.
Syntax: | result = f$base64encode ( [Input] ) | ||
| Argument | Type | Meaning |
Input | string | Input string to encode. This argument is optional. Without this argument the internal buffer is encoded | |
Result: | String | Encoded buffer | |
Examples: | File = 'c:\\temp\\acbis.jpg' On the string parameter image is now the encoded file content. | ||