Skip to content

crc32

crc32(data, initialValue?): number

Defined in: index.d.ts:1333

Compute CRC32 checksum of the given data.

Optionally accepts an initial CRC value for incremental computation: split data into chunks, pass the result of each chunk as initial_value for the next. initial_value is an integer from 0 to 4294967295.

Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

number | null

number