Safe Haskell | None |
---|
Provides interface to the zlib
library.
Synopsis
- compressZlib :: ByteString -> ByteString
- decompressZlib :: MonadError String m => ByteString -> m ByteString
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
.