| Copyright | (c) Duncan Coutts 2015-2017 | 
|---|---|
| License | BSD3-style (see LICENSE.txt) | 
| Maintainer | duncan@community.haskell.org | 
| Stability | experimental | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Codec.Serialise.IO
Description
High-level file-based API for serialising and deserialising values.
Synopsis
- writeFileSerialise :: Serialise a => FilePath -> a -> IO ()
- readFileDeserialise :: Serialise a => FilePath -> IO a
- hPutSerialise :: Serialise a => Handle -> a -> IO ()
FilePath
FilePathArguments
| :: Serialise a | |
| => FilePath | The file to write to. | 
| -> a | The value to be serialised and written. | 
| -> IO () | 
Serialise a ByteString
Since: 0.2.0.0
Read the specified file (internally, by reading a ByteStringdeserialise
Throws: DeserialiseFailure
Since: 0.2.0.0
Handle
Handle