security.Base64.LoadBinary
Reads data from a file and encodes to base64.
Syntax
security.Base64.LoadBinary(
path STRING )
RETURNS STRING
- path defines the path to the binary file.
Usage
Reads the file located at path and encodes this binary data in Base64 format.
For example, this method can be used to send images through a network.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).