FastCRC Library API

SL_FCRC32_UpdateStr

void SL_FCRCCALL SL_FCRC32_UpdateStr( unsigned long* pCRC, const char* pSrc );

Parameters

pCRC

    [in/out] Pointer to the crc variable.

 pSrc

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

Remarks

Updates the crc variable pointed by pCRC 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_FCRC32_UpdateStr, call SL_FCRC32_Final.

Note. The call SL_FCRC32_UpdateStr( pCRC, pSrc );

            is equivalent to the call SL_FCRC32_Update( pCRC, pSrc, strlen( pSrc ) );

 

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

 

See Also    SL_FCRC32_Update, SL_FCRC32_Final, SL_FCRC32_Init


 

 

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