QuickHash Library API


void SL_HASHCALL SL_CRC16C_UpdateStr( void* pContext, const char* pSrc );



    [in/out] Pointer to the context.


    [in] Pointer to the null-terminated string with which to update the context.


Updates the context pointed by pContext with the null-terminated string pointed by pSrc. Call this function for each null-terminated string for which the checksum is calculated. To retrieve the checksum after using SL_CRC16C_UpdateStr, call SL_CRC16C_Final or SL_CRC16C_FinalHex.

Note. The call SL_CRC16C_UpdateStr( pContext, pSrc );

            is equivalent to the call SL_CRC16C_Update( pContext, pSrc, strlen( pSrc ) );


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


See Also    SL_CRC16C_Update, SL_CRC16C_Final, SL_CRC16C_FinalHex, SL_CRC16C_Init



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