Contents 

SlavaSoft FastCRC Library Online Help

Prev Page Next Page
FastCRC Library API

SL_FCRC_ConvertToHex32

void SL_FCRCCALL SL_FCRC_ConvertToHex32( char* pDest, unsigned long nCRC, int bUpper );

Parameters

 pDest

    [out] A pointer to the text buffer that retrieves the result.

 nCRC

    [in] A number to convert.

bUpper

    [in] Uppercase flag. If bUpper is 0, the result represents a lowercase string, otherwise it represents an uppercase string.

Remarks

Converts the number specified by nCRC into its hexadecimal representation. The result is retrieved in the text buffer pointed by pDest.

Note. Before calling SL_FCRC_ConvertToHex32 function, allocate at least SLC_FCRC_MAXHEXSIZE bytes (9 bytes) for the text buffer pointed by pDest.

Example

See the example for SL_FCRC32_CalculateStr.

Useful Links   |   HashCalc

 

See Also    SL_FCRC_ConvertToHex16


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about FastCRC Library