ganeti

Safe HaskellSafe-Infered

Ganeti.Codec

Description

Provides interface to the zlib library.

Synopsis

Documentation

compressZlib :: ByteString -> ByteStringSource

Compresses a lazy bytestring.

decompressZlib :: (MonadError e m, FromString e) => ByteString -> m ByteStringSource

Decompresses a lazy bytestring, throwing decoding errors using throwError.