function crc32
Usage in Deno
import { crc32 } from "node:zlib";
crc32(data: string
| Buffer
| ArrayBufferView,value?: number,): number
Computes a 32-bit Cyclic Redundancy Check checksum of data
.
If value
is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
number
A 32-bit unsigned integer containing the checksum.