<< Previous | Next >> | |
|
int getcrc( char * dataarray, char count, int accum );
Description
- Computes the Cyclic Redundancy Check (CRC), or check sum, for
count
bytes (maximum 255) of data in buffer. Calls togetcrc
can be "concatenated" usingaccum
to compute the CRC for a large buffer.Parameters
- dataarray
- Data buffer
- count
- Number of bytes. Maximum is 255.
- accum
- Base CRC for the data array.
Return value
- CRC value.
Library
- MATH.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |