FastCRC Library API

SL_FCRC16_UpdateStr

void SL_FCRCCALL SL_FCRC16_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_FCRC16_UpdateStr, call SL_FCRC16_Final.

Note. The call SL_FCRC16_UpdateStr( pCRC, pSrc );

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

 

CRC16 API Overview   |   CRC16 API Functions   |   Useful Links   |   HashCalc

 

See Also    SL_FCRC16_Update, SL_FCRC16_Final, SL_FCRC16_Init


 

 

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