Safe Haskell | None |
---|---|
Language | Haskell2010 |
The functions in this module throw exceptions on error.
decompress
and compress
are fully lazy, i.e. memory efficient.
Synopsis
- compressBlock :: ByteString -> ByteString
- decompressBlockSz :: ByteString -> Int -> ByteString
- lZ4MaxInputSize :: Integral a => a
- compressBlockHC :: Int -> ByteString -> ByteString
- lZ4HCClevelMax :: Integral a => a
- compress :: ByteString -> ByteString
- decompress :: ByteString -> ByteString
- decompressBufSz :: Int -> ByteString -> ByteString
- lZ4VersionNumber :: CInt
- lZ4VersionString :: String
Functions for working with blocks
compressBlock :: ByteString -> ByteString Source #
:: ByteString | |
-> Int | Decompressed size |
-> ByteString |
Decompress a block. The size of the uncompressed data must be known.
lZ4MaxInputSize :: Integral a => a Source #
Since: 0.1.1.0
:: Int | Compression level (must be less than |
-> ByteString | |
-> ByteString |
Since: 0.1.1.0
lZ4HCClevelMax :: Integral a => a Source #
Since: 0.1.1.0
Functions for working with frames
compress :: ByteString -> ByteString Source #
Lazily compress a frame.
decompress :: ByteString -> ByteString Source #
Lazily decompress a frame
Version info
lZ4VersionString :: String Source #
Since: 0.1.1.0