decompress package:brotli

Decompress lazy ByteString from a Brotli stream.
DecompressParams field: If True, ring buffer is allocated according to window size, despite the real size of the content. (default: False)
Incremental decompression in the IO monad.
Incremental decompression in the lazy ST monad.
Like decompress but with the ability to specify various decompression parameters. Typical usage:
decompressWith defaultDecompressParams { decompress... = ... }
Decoding process requires input to proceed. An empty ByteString chunk signals end of input.
Decompressed output chunk available.
Set of parameters for decompression. The defaults are defaultDecompressParams.
Decoded stream is finished. Any unconsumed leftovers from the input stream are returned via the ByteString field
The default set of parameters for decompression. This is typically used with the decompressWith function with specific parameters overridden.