FastCRC Library API


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



    [in/out] Pointer to the crc variable.


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


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_FCRC16C_UpdateStr, call SL_FCRC16C_Final.

Note. The call SL_FCRC16C_UpdateStr( pCRC, pSrc );

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


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


See Also    SL_FCRC16C_Update, SL_FCRC16C_Final, SL_FCRC16C_Init



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