FastCRC Library Type Library

FCRC16C_Update

void FCRC16C_Update( [ in,out ]long* pCRC, [ in , size_is( nSrcLength ) ] const void* pSrc, [ in ] int nSrcLength );

Parameters

pCRC

    [in/out] The crc variable.

 pSrc

    [in] A continuous memory block with which to update the crc variable.

 nSrcLength

    [in] Length in bytes of the memory block.

Remarks

Updates the crc variable specified by pCRC with the memory block specified by pSrc. Call this function for each continuous memory block of the data for which the checksum is calculated. To retrieve the checksum after using FCRC16C_Update, call FCRC16C_Final.

Note. Before the first call to FCRC16C_Update, FCRC16C_UpdateStr or FCRC16C_Final functions, the crc variable must be initialized with FCRC16C_Init.

VB Example

See the example for FCRC16C_Final.

Type Library Overview   |   Type Library Functions   |   Useful Links   |   HashCalc

 

See Also    FCRC16C_UpdateStr, FCRC16C_Final, FCRC16C_Init


 

 

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