T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
HEX16 encoding/decoding

Functions

 tpco_formatHEX16
 This function converts a HEX16 string to UTF-8 string. But in the TCL Level, the string repesentation is UTF-16. The diffence to binary format H* <string> is, tpco_formatHEX16 is faster. More...
 
 tpco_scanHEX16
 This function converts a string to UTF-8 and returns the result in a HEX16 representation. The difference to binary scan <string> H* is, tpco_scanHEX16 is faster and has a fixed format (UTF-8). More...
 

Detailed Description

Function Documentation

◆ tpco_formatHEX16()

tpco_formatHEX16

This function converts a HEX16 string to UTF-8 string. But in the TCL Level, the string repesentation is UTF-16. The diffence to binary format H* <string> is, tpco_formatHEX16 is faster.

Parameters
stringHEX16 string
Returns
the plain string

◆ tpco_scanHEX16()

tpco_scanHEX16

This function converts a string to UTF-8 and returns the result in a HEX16 representation. The difference to binary scan <string> H* is, tpco_scanHEX16 is faster and has a fixed format (UTF-8).

Parameters
stringplain string
Returns
the UTF-8 string in a HEX16 representation.