value
writeFileSerialise Serialise a ByteString and write it directly to the
specified file.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleserialise-0.2.6.1Haskell2010
High-level file-based API for serialising and deserialising values.
FilePath APIwriteFileSerialise Serialise a ByteString and write it directly to the
specified file.
readFileDeserialise Read the specified file (internally, by reading a ByteString)
and attempt to decode it into a Haskell value using deserialise
(the type of which is determined by the choice of the result type).
Throws: DeserialiseFailure if the file fails to
deserialise properly.
System.IO.Handle APIhPutSerialise Serialise a ByteString (via serialise) and write it directly
to the specified Handle.