hashes-0.1.0.0: Hash functions
CopyrightCopyright © 2021 Lars Kuhtz <lakuhtz@gmail.com>
LicenseMIT
MaintainerLars Kuhtz <lakuhtz@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Hash.Utils

Description

 
Synopsis

Pure API

hashStorable :: Storable a => (Ptr Word8 -> Int -> IO b) -> a -> b Source #

hashStorable_ :: Storable a => (Ptr Word8 -> Int -> b -> IO b) -> a -> b -> b Source #

hashByteString_ :: (Ptr Word8 -> Int -> b -> IO b) -> ByteString -> b -> b Source #

hashByteArray_ :: (Ptr Word8 -> Int -> b -> IO b) -> ByteArray# -> b -> b Source #

hashPtr :: (Ptr Word8 -> Int -> IO b) -> Ptr Word8 -> Int -> b Source #

hashPtr_ :: (Ptr Word8 -> Int -> b -> IO b) -> Ptr Word8 -> Int -> b -> b Source #

IO API

hashStorableIO :: Storable a => (Ptr Word8 -> Int -> IO b) -> a -> IO b Source #

hashStorableIO_ :: Storable a => (Ptr Word8 -> Int -> b -> IO b) -> a -> b -> IO b Source #

hashByteStringIO_ :: (Ptr Word8 -> Int -> b -> IO b) -> ByteString -> b -> IO b Source #

hashByteArrayIO_ :: (Ptr Word8 -> Int -> b -> IO b) -> ByteArray# -> b -> IO b Source #