QuickHash Library API

SL_CRC32_Update

void SL_HASHCALL SL_CRC32_Update( void* pContext, const void* pSrc, unsigned int nSrcLength );

Parameters

pContext

    [in/out] Pointer to the context.

 pSrc

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

 nSrcLength

    [in] Length in bytes of the memory block.

Remarks

Updates the context pointed by pContext 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_CRC32_Update, call SL_CRC32_Final or SL_CRC32_FinalHex.

Example

See the example for SL_CRC32_Final.

 

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

 

See Also    SL_CRC32_UpdateStr, SL_CRC32_Final, SL_CRC32_FinalHex, SL_CRC32_Init


 

 

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