Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- compress :: ByteString -> ByteString
- compressWith :: CompressionLevel -> ByteString -> ByteString
- decompress :: ByteString -> ByteString
- data CompressionLevel
- module Codec.Lzip.Raw
Documentation
compress :: ByteString -> ByteString Source #
Defaults to Nine
compressWith :: CompressionLevel -> ByteString -> ByteString Source #
decompress :: ByteString -> ByteString Source #
This does not do any error recovery; for that you should use lziprecover.
Doesn't work on empty ByteString
s
Low-level bindings
module Codec.Lzip.Raw