Add a MODE_GENERIC compression mode to the interface.

With this the users can distinguish between not knowing
what the input is (ddefault) and knowing that it is text,
and thus can be relied on to force some UTF-8 specific settings.
2 files changed
tree: 539ec6a6c2aae69fa26518828ff21b0a77086bd1
  1. dec/
  2. docs/
  3. enc/
  4. python/
  5. tests/
  6. tools/
  7. .gitignore
  8. LICENSE
  9. README.md
  10. setup.py
  11. shared.mk
README.md

brotli

Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression.

The specification of the Brotli Compressed Data Format is defined in the following internet draft: http://www.ietf.org/id/draft-alakuijala-brotli

Brotli is open-sourced under the Apache License, Version 2.0, see the LICENSE file.