| Safe Haskell | Safe-Infered |
|---|
Data.Conduit.Cereal
Description
Turn a Get into a Sink and a Put into a Source
These functions are built upno the Data.Conduit.Cereal.Internal functions with default
implementations of ErrorHandler and TerminationHandler
The default ErrorHandler and TerminationHandler both throw a GetException.
- data GetException
- sinkGet :: MonadException m => Get r -> Sink ByteString m r
- conduitGet :: MonadException m => Get output -> Conduit ByteString m output
- sourcePut :: Monad m => Put -> Source m ByteString
Documentation
data GetException Source
sinkGet :: MonadException m => Get r -> Sink ByteString m rSource
conduitGet :: MonadException m => Get output -> Conduit ByteString m outputSource