Portability | portable |
---|---|
Stability | experimental |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
De-/Serialisation arrows for XmlTrees and other arbitrary values with a Binary instance
- readBinaryValue :: (NFData a, Binary a) => Bool -> String -> IOStateArrow s b a
- writeBinaryValue :: Binary a => Bool -> String -> IOStateArrow s a ()
Documentation
readBinaryValue :: (NFData a, Binary a) => Bool -> String -> IOStateArrow s b aSource
Read a serialied value from a file. The the flag indicates uncompressing. In case of an error, the error message is issued and the arrow fails
writeBinaryValue :: Binary a => Bool -> String -> IOStateArrow s a ()Source
Serialize a value, optionally compress it, and write it to a file. In case of an error, the error message is issued and the arrow fails