security.HexBinary.ToByte
Decodes an hexadecimal string into a BYTE variable.
Syntax
security.HexBinary.ToByte(
hex STRING,
ret BYTE )
- hex defines a string in hexadecimal.
- ret defines the input parameter to fill with data of type BYTE.
Usage
Decodes the given hexadecimal string and fills the BYTE variable with binary data.
Important:
The BYTE
must be located in
memory.
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).