Rattletrap.Utility.Crc
compute :: ByteString -> Word32 Source #
Computes the CRC32 of some bytes. This is done to ensure that the bytes are valid before trying to parse them.
compute (pack [0x00])
pack
This CRC uses an initial value of 0xefcbf201 and a polynomial of 0x04c11db7.
0xefcbf201
0x04c11db7