snappy-conduit-0.1.0.0: Conduit bindings for Snappy (see snappy package)

Safe HaskellNone
LanguageHaskell2010

Codec.Compression.Snappy.Lazy.Conduit

Contents

Synopsis

Conduit interface

decompressConduit :: Monad m => Conduit ByteString m ByteString Source

Decompress data in the Snappy format. If the input is not compressed or is corrupt, an exception will be thrown.

compressConduit :: Monad m => Conduit ByteString m ByteString Source

Compress data into the Snappy format.