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....



CalcCRC32ofFile


Unit:SDL_dstruct
Class:none
Declaration:function CalcCRC32ofFile (FName: string): longint;

The function CalcCRC32ofFile calculates a 32-bit CRC of the file specified by its filename FName; the algorithm is based on the following polynomial:

X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1.



Last Update: 2023-Feb-06