Safe Haskell | None |
---|---|
Language | Haskell98 |
- module Data.Binary
- module Data.Binary.Get
- module Data.Binary.Put
- module UHC.Util.Control.Monad
- module Data.Typeable
- module Data.Generics
- hGetBinary :: Binary a => Handle -> IO a
- getBinaryFile :: Binary a => FilePath -> IO a
- getBinaryFPath :: Binary a => FPath -> IO a
- hPutBinary :: Binary a => Handle -> a -> IO ()
- putBinaryFile :: Binary a => FilePath -> a -> IO ()
- putBinaryFPath :: Binary a => FPath -> a -> IO ()
- putEnum :: Enum x => x -> Put
- getEnum :: Enum x => Get x
- putEnum8 :: Enum x => x -> Put
- getEnum8 :: Enum x => Get x
- putList :: (Binary a, Binary b) => (x -> Bool) -> (x -> (a, b)) -> x -> Put
- getList :: (Binary a, Binary b) => x -> (a -> b -> x) -> Get x
Documentation
module Data.Binary
module Data.Binary.Get
module Data.Binary.Put
module UHC.Util.Control.Monad
module Data.Typeable
module Data.Generics
hGetBinary :: Binary a => Handle -> IO a Source
Decode from Handle
getBinaryFile :: Binary a => FilePath -> IO a Source
Decode from FilePath
getBinaryFPath :: Binary a => FPath -> IO a Source
Decode from FilePath
hPutBinary :: Binary a => Handle -> a -> IO () Source
Encode to Handle
putBinaryFile :: Binary a => FilePath -> a -> IO () Source
Encode to FilePath
putBinaryFPath :: Binary a => FPath -> a -> IO () Source
Encode to FPath, ensuring existence of path