| hoogle | Source code | Contents | Index

Data.Binary.Defer.Monad

Documentation

type DeferPut a = ReaderT (Buffer, IORef [DeferPending], IORef [DeferPatchup]) IO a | Source

putDefer :: DeferPut () -> DeferPut () | Source

runDeferPut :: Handle -> DeferPut () -> IO () | Source

putInt :: Int -> DeferPut () | Source

putByte :: Word8 -> DeferPut () | Source

putChr :: Char -> DeferPut () | Source

putByteString :: ByteString -> DeferPut () | Source

type DeferGet a = ReaderT (Handle, IORef TypeMap) IO a | Source

getDefer :: DeferGet a -> DeferGet a | Source

runDeferGet :: Handle -> DeferGet a -> IO a | Source

getInt :: DeferGet Int | Source

getByte :: DeferGet Word8 | Source

getChr :: DeferGet Char | Source

getByteString :: DeferGet ByteString | Source

getDeferGet :: Typeable a => DeferGet a | Source

getDeferPut :: Typeable a => a -> DeferGet () | Source

Produced by Haddock version 2.4.2