QuickHash Library API

SL_CRC16C_Update

void SL_HASHCALL SL_CRC16C_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_CRC16C_Update, call SL_CRC16C_Final or SL_CRC16C_FinalHex.

Example

See the example for SL_CRC16C_Final.

 

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

 

See Also    SL_CRC16C_UpdateStr, SL_CRC16C_Final, SL_CRC16C_FinalHex, SL_CRC16C_Init


 

 

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