The Base64 class / security.Base64 methods |
Encodes the given BYTE data in base64.
security.Base64.FromByte( source BYTE ) RETURNING result STRING
Encodes the given BYTE data in base64 and returns the string.
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).