security.Base64.FromHexBinary

Decodes the given hexadecimal string to base64.

Syntax

security.Base64.FromHexBinary(
   hexBinVal STRING )
  RETURNS STRING
  1. hexBinVal defines the string in hexadecimal form.

Usage

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