rattletrap-3.1.0: Parse and generate Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Rattletrap.Crc

Synopsis

Documentation

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])

This CRC uses an initial value of 0xefcbf201 and a polynomial of 0x04c11db7.