Safe Haskell | None |
---|
A monad-transformer over Data.Serialize.Put.
Documentation
A serialization monad transformer.
run :: Monad m => Serialize m a -> m (a, ByteString)Source
Run and get the monad result paired with a bytestring of serialized data.
runLazy :: Monad m => Serialize m a -> m (a, LazyByteString)Source
Run and get the monad result paired with a lazy bytestring of serialized data.