ganeti
Safe HaskellNone

Ganeti.Codec

Description

Provides interface to the zlib library.

Synopsis

Documentation

compressZlib :: ByteString -> ByteString Source #

Compresses a lazy bytestring.

decompressZlib :: MonadError String m => ByteString -> m ByteString Source #

Decompresses a lazy bytestring, throwing decoding errors using throwError.