FastCRC Library API

SL_FCRC16C_Update

void SL_FCRCCALL SL_FCRC16C_Update( unsigned long* pCRC, const void* pSrc, unsigned int nSrcLength );

Parameters

pCRC

    [in/out] Pointer to the crc variable.

 pSrc

    [in] Pointer to the continuous memory block with which to update the crc variable.

 nSrcLength

    [in] Length in bytes of the memory block.

Remarks

Updates the crc variable pointed by pCRC with the memory block pointed by pSrc. Call this function for each continuous memory block of the data for which the checksum is calculated. To retrieve the checksum after using SL_FCRC16C_Update, call SL_FCRC16C_Final.

Example

See the example for SL_FCRC16C_Final.

 

CRC16C API Overview   |   CRC16C API Functions   |   Useful Links   |   HashCalc

 

See Also    SL_FCRC16C_UpdateStr, SL_FCRC16C_Final, SL_FCRC16C_Init


 

 

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