crc32

fnuint crc32(uint crc, const(void)[] buf)

Compute the CRC32 checksum of a buffer's worth of data.

Parameters

crcthe starting checksum for the computation. Use 0 for a new checksum. Use the output of this function for a cumulative checksum.
bufbuffer containing input data

Returns

A uint checksum for the provided input data and starting checksum

See Also