QuickHash Library API

SL_CRC16_Update

void SL_HASHCALL SL_CRC16_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_CRC16_Update, call SL_CRC16_Final or SL_CRC16_FinalHex.

Example

See the example for SL_CRC16_Final.

 

CRC16 API Overview   |   CRC16 API Functions   |   Useful Links   |   HashCalc

 

See Also    SL_CRC16_UpdateStr, SL_CRC16_Final, SL_CRC16_FinalHex, SL_CRC16_Init


 

 

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