The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack DStruct Procedures and Functions CRC32ofBuffer | |||||||||
See also: CRC16ofBuffer, CalcNextCRC32, CalcCRC32ofFile, CRCofData (Matrix), CRCofData (Vector) | |||||||||
CRC32ofBuffer |
|||||||||
The function CRC32ofBuffer calculates a 32-bit CRC of the byte array Buffer; the algorithm is based on the following polynomial: X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1. The parameter Numdata specifies the number of bytes contained in the buffer. All NumData bytes in the buffer are processed and the cyclic redundancy code is returned by the function.
|