FastCRC Library API

SL_FCRC32_Update

void SL_FCRCCALL SL_FCRC32_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_FCRC32_Update, call SL_FCRC32_Final.

Example

See the example for SL_FCRC32_Final.

 

CRC32 API Overview   |   CRC32 API Functions   |   Useful Links   |   HashCalc

 

See Also    SL_FCRC32_UpdateStr, SL_FCRC32_Final, SL_FCRC32_Init


 

 

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