Encodes the binary data represented by this XPRIM_Binary into a hex string (hex encoding). A hex string is a sequence of two-digit hex numbers. Each hex number represents a byte.
For example, hex string "0AFF" represents two bytes, the first being 10 (0A) and the second 255 (FF).
Input Arguments
None
Output Arguments
|
Return Value
The hex representation of the binary data. The letter digits are in lowercase (a, b, c, d, e, f).
Examples
Read the content of a file as a hex string.
Define_Com Class(#XPRIM_Binary) Name(#File)
. . .
#File.FromFile Path('/tmp/file.bin')
#HEX_STR := #File.AsHexString