createCrc32(polynomial: number): (data: Uint8Array) => number
Creates a CRC32 function for the given polynomial.
Uses init=0xffffffff and xor=0xffffffff (common for CRC32, CRC32C, and CRC32K).
(data: Uint8Array) => number
A function that calculates CRC32 for given data