rattletrap-3.1.1: Parse and generate Rocket League replays.
Rattletrap.Crc
Synopsis
getCrc32 :: ByteString -> Word32 Source #
Computes the CRC32 of some bytes. This is done to ensure that the bytes are valid before trying to parse them.
getCrc32 (pack [0x00])
pack
This CRC uses an initial value of 0xefcbf201 and a polynomial of 0x04c11db7.
0xefcbf201
0x04c11db7
crc32Update :: Vector Word32 -> Word32 -> Word8 -> Word32 Source #
crc32Initial :: Word32 Source #
crc32Table :: Vector Word32 Source #