security.Base64.FromHexBinary

Decodes the given hexadecimal string to base64.

Syntax

security.Base64.FromHexBinary(
   source STRING )
  RETURNING result STRING
  1. source is a string in its hexadecimal form
  2. result is a string encoded in base64

Usage

Decodes the given hexadecimal string and returns it in base64.

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).