-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Implements various Cyclic Redundancy Checks (CRC) -- -- Please see README.md @package crc @version 0.0.1 module Data.Digest.CRC class CRC a where type family CRCWord a initCRC :: CRC a => a crcWord :: CRC a => a -> CRCWord a updateDigest :: CRC a => a -> ByteString -> a crcTable :: CRC a => Vector (CRCWord a) digest :: CRC a => ByteString -> a module Data.Digest.CRC8 newtype CRC8 CRC8 :: Word8 -> CRC8 [crc8] :: CRC8 -> Word8 instance GHC.Classes.Ord Data.Digest.CRC8.CRC8 instance GHC.Classes.Eq Data.Digest.CRC8.CRC8 instance GHC.Show.Show Data.Digest.CRC8.CRC8 instance Data.Digest.CRC.CRC Data.Digest.CRC8.CRC8 module Data.Digest.CRC16 newtype CRC16 CRC16 :: Word16 -> CRC16 [crc16] :: CRC16 -> Word16 instance GHC.Classes.Ord Data.Digest.CRC16.CRC16 instance GHC.Classes.Eq Data.Digest.CRC16.CRC16 instance GHC.Show.Show Data.Digest.CRC16.CRC16 instance Data.Digest.CRC.CRC Data.Digest.CRC16.CRC16 module Data.Digest.CRC32 newtype CRC32 CRC32 :: Word32 -> CRC32 [crc32] :: CRC32 -> Word32 digest :: CRC a => ByteString -> a updateDigest :: CRC a => a -> ByteString -> a instance GHC.Classes.Ord Data.Digest.CRC32.CRC32 instance GHC.Classes.Eq Data.Digest.CRC32.CRC32 instance GHC.Show.Show Data.Digest.CRC32.CRC32 instance Data.Digest.CRC.CRC Data.Digest.CRC32.CRC32 module Data.Digest.CRC64 newtype CRC64 CRC64 :: Word64 -> CRC64 [crc64] :: CRC64 -> Word64 instance GHC.Classes.Ord Data.Digest.CRC64.CRC64 instance GHC.Classes.Eq Data.Digest.CRC64.CRC64 instance GHC.Show.Show Data.Digest.CRC64.CRC64 instance Data.Digest.CRC.CRC Data.Digest.CRC64.CRC64