QuickHash Library API

SL_CRC32_UpdateStr

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

Parameters

pContext

    [in/out] Pointer to the context.

 pSrc

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

Remarks

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_CRC32_UpdateStr, call SL_CRC32_Final or SL_CRC32_FinalHex.

Note. The call SL_CRC32_UpdateStr( pContext, pSrc );

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

 

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

 

See Also    SL_CRC32_Update, SL_CRC32_Final, SL_CRC32_FinalHex, SL_CRC32_Init


 

 

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