This function of the
⇘
CAA_Memory.library calculates the CRC32 check sum. (employed by PKZIP, AUTODIN II, Ethernet, FDDI)
Input:
pMemoryBlock
|
DWORD
|
Address of memory area
|
uiLength
|
UINT
|
Size of area in bytes
|
Output:
MEM.CRC32
|
DWORD
|
Check sum
|
Example:
sTest : STRING(10) := '123456789' ;
->
MEM.CRC32(ADR(sTest), 9) = 16#CBF43926 *)