ixCharWordToHexWord()
void ixCharWordToHexWord(UCharT *HexWord, UCharT *CharWord, size_t Length);
*HexWord -- A pointer to a buffer which is large enough to accept the hexadecimal representation of the word pointed to by CharWord. (This would be the length of CharWord in bytes + 3.)
*CharWord -- A pointer to the word you would like to convert to its hexadecimal representation.
Length -- The length of the word pointed to by CharWord in bytes.
Nothing.
Several of Onix's core functions which perform lookups require terms to be represented in their hexadecimal form. This is partly to provide compatibility with the wide variety of character sets available and the large number of different needs various customers may have -- some of which may require indexing and searching for binary data.
The hexadecimal representation of the word specified by CharWord and Length is placed in the buffer pointed to by HexWord. The hexadecimal representation is zero terminated -- a "C" style string.