generative-art-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Crc32

Synopsis

Documentation

crc32 :: ByteString -> Crc32 Source #

CRC32 checksum.

>>> import Data.ByteString.Lazy.Char8
>>> crc32 (pack "The quick brown fox jumps over the lazy dog")
0x414fa339
>>> crc32 (pack "123456789")
0xcbf43926

newtype Crc32 Source #

Constructors

Crc32 Word32 

Instances

Instances details
Show Crc32 Source # 
Instance details

Defined in Data.Crc32

Methods

showsPrec :: Int -> Crc32 -> ShowS #

show :: Crc32 -> String #

showList :: [Crc32] -> ShowS #

Eq Crc32 Source # 
Instance details

Defined in Data.Crc32

Methods

(==) :: Crc32 -> Crc32 -> Bool #

(/=) :: Crc32 -> Crc32 -> Bool #

Ord Crc32 Source # 
Instance details

Defined in Data.Crc32

Methods

compare :: Crc32 -> Crc32 -> Ordering #

(<) :: Crc32 -> Crc32 -> Bool #

(<=) :: Crc32 -> Crc32 -> Bool #

(>) :: Crc32 -> Crc32 -> Bool #

(>=) :: Crc32 -> Crc32 -> Bool #

max :: Crc32 -> Crc32 -> Crc32 #

min :: Crc32 -> Crc32 -> Crc32 #