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

ixCharToHex

NAME

 ixCharToHex -- Convert a byte to its hex value

SYNOPSIS

 void ixCharToHex(UCharT C, UCharT *Output)

ARGUMENTS

C   -- The byte for which you want to find its hex value.

Output  -- A pointer to a buffer two bytes or larger in size where you would like to have the hex value placed.

RETURNS

 Nothing

DESCRIPTION

ixCharToHex converts a character / byte into its hex equivalent.  For example, if you pass in the ASCII character "C", the first two bytes of the output buffer will be used to store the two characters "43" which is the hex value for the decimal value 67 which corresponds to "C".

SEE ALSO

 ixHexToChar, ixUnicodeHexToChar, ixUnicodeCharToHex