Contents 

SlavaSoft FastCRC Library Online Help

Prev Page Next Page
FastCRC Library Type Library

FCRC16_Update

void FCRC16_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 FCRC16_Update, call FCRC16_Final.

Note. Before the first call to FCRC16_Update, FCRC16_UpdateStr or FCRC16_Final functions, the crc variable must be initialized with FCRC16_Init.

VB Example

See the example for FCRC16_Final.

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

 

See Also    FCRC16_UpdateStr, FCRC16_Final, FCRC16_Init


 

 

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