Skip to content

haskell-hvr/brotli

Repository files navigation

brotli Haskell library

Brotli (RFC7932) is a generic-purpose lossless compression algorithm suitable for HTTP compression that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.

This package provides a pure interface for compressing and decompressing Brotli streams of data represented as lazy ByteStrings. A monadic incremental interface is provided as well. This package relies on Google's C implementation.

The following packages are based on this package and provide API support for popular streaming frameworks: