Computes JamCRC checksums over a byte stream.
Declared in <llvm/Support/CRC.h>
class JamCRC;
We will use the "Rocksoft^tm Model CRC Algorithm" to describe the properties of this CRC: Width : 32 Poly : 04C11DB7 Init : FFFFFFFF RefIn : True RefOut : True XorOut : 00000000 Check : 340BC6D9 (result of CRC for "123456789")
In other words, this is the same as CRC-32, except that XorOut is 0 instead of FFFFFFFF.
N.B. We permit flexibility of the "Init" value. Some consumers of this need it to be zero.
| Name | Description |
|---|---|
JamCRC [constructor] | Construct a JamCRC hasher with the given initial CRC value. |
getCRC | Return the current JamCRC value. |
update | Update the CRC calculation with Data. |