JAM_Crc32 - Calculate CRC32 on a block of data
#include <jamlib/jam.h>
ulong JAM_Crc32(uchar* Buffer_PC,
ulong Length_I);
Calculates the Crc32 value for a block of data. All ASCII characters are
converted to lowercase before calculating the CRC (the input data is
unchanged).
- Buffer_PC
- A pointer to the first byte of the data block
- Length_I
- The number of bytes in the data block
ulong Crc_I;
uchar Text_AC[32];
strcpy(Text_AC, "Hello world!\n");
Crc_I = JAM_Crc32(Text_AC, strlen(Text_AC));
This manual page was created by Sir Raorn <raorn@altlinux.ru>, based on
original JAMlib documentation by Bjorn Stenberg <bjorn@haxx.nu> and
Johan Billing <billing@df.lth.se>.