Crc32
Struct · namespace System.Compression · Since 0.28
struct Crc32The CRC-32 checksum of zip, gzip and PNG (the polynomial 0xEDB88320, reflected).
uint32 crc = Crc32.Compute(bytes);uint32 same = Crc32.Update(Crc32.Update(0, first), second); // in partsStatic methods
Section titled “Static methods”| Name | Description |
|---|---|
Compute |
The checksum of data. |
Update |
Continues the checksum crc of the bytes before data (0 at the start). |
Compute
Section titled “Compute”static uint32 Compute(ReadOnlySlice<uint8> data)The checksum of data.
Update
Section titled “Update”static uint32 Update(uint32 crc, ReadOnlySlice<uint8> data)Continues the checksum crc of the bytes before data (0 at the start).