Update decoder API:
* replace prefix Brotli -> BrotliDecoder
* add HasMoreOutput
* make instance pointer the first argument
* use boolean instead of int
7 files changed
tree: 7a5ac652684fb57626a0f1e95ed8b0a5db5109f0
  1. appveyor/
  2. common/
  3. dec/
  4. docs/
  5. enc/
  6. python/
  7. tests/
  8. tools/
  9. .gitignore
  10. .gitmodules
  11. .travis.yml
  12. appveyor.yml
  13. BUILD
  14. configure
  15. CONTRIBUTING.md
  16. LICENSE
  17. Makefile
  18. MANIFEST.in
  19. premake5.lua
  20. README.md
  21. setup.cfg
  22. setup.py
  23. WORKSPACE
README.md

Introduction

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 MIT License, see the LICENSE file.

Brotli mailing list: https://groups.google.com/forum/#!forum/brotli

Build Status

Related projects

Independent decoder implementation by Mark Adler, based entirely on format specification.

JavaScript port of brotli decoder. Could be used directly via npm install brotli