The Main Manual Page Dynamic API Documentation CD-ROM API Documentation About Onix Types About Onix Errors Onix's Web Site at Lextek International Lextek International Onix Full Text Indexing and Retrieval Toolkit

ixCharWordToHexWord

 

NAME

ixCharWordToHexWord()

SYNOPSIS

void ixCharWordToHexWord(UCharT *HexWord, UCharT *CharWord, size_t Length);

ARGUMENTS

*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.

RETURNS

Nothing.

DESCRIPTION

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.

SEE ALSO

ixCharToHex, ixHexToChar, ixProcessQuery, ixFindRecordID