value
writeFileSerialise Serialise a ByteString and write it directly to the
specified file.
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
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.