Debian Codegraph @

/

debian golang-github-andybalholm-brotli 1.2.2-1debian golang-github-andybalholm-brotli-dev gomod github.com/andybalholm/brotli debiangoinimakefilemarkdownshellyaml 98 files · 2218 symbols
README (full)

This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at https://github.com/andybalholm/c2go.

I am using it in production with https://github.com/andybalholm/redwood.

API documentation is found at https://pkg.go.dev/github.com/andybalholm/brotli?tab=doc.

Roadmap

I have been working on new compression algorithms (not translated from C) in the matchfinder package. You can use them with the NewWriterV2 function. Currently they give better results than the old implementation (at least for compressing my test file, Newton’s Opticks) on levels 0 to 9.

The new APIs are currently considered experimental, and are not covered by any SemVer compatibility guarantees.

dir debian/
dir flate/
dir matchfinder/
dir testdata/
file .gitignore
file LICENSE
file README.md
file backward_references.go
file backward_references_hq.go
file bit_cost.go
file bit_reader.go
file bitwriter.go
file block_splitter.go
file block_splitter_command.go
file block_splitter_distance.go
file block_splitter_literal.go
file brotli_bit_stream.go
file brotli_test.go
file cluster.go
file cluster_command.go
file cluster_distance.go
file cluster_literal.go
file command.go
file compress_fragment.go
file compress_fragment_two_pass.go
file constants.go
file context.go
file decode.go
file dictionary.go
file dictionary_hash.go
file encode.go
file encoder.go
file encoder_dict.go
file encoder_fast.go
file entropy_encode.go
file entropy_encode_static.go
file example_test.go
file fast_log.go
file find_match_length.go
file go.mod
file go.sum
file h10.go
file h5.go
file h6.go
file hash.go
file hash_composite.go
file hash_forgetful_chain.go
file hash_longest_match_quickly.go
file hash_rolling.go
file histogram.go
file http.go
file huffman.go
file literal_cost.go
file memory.go
file metablock.go
file metablock_command.go
file metablock_distance.go
file metablock_literal.go
file params.go
file platform.go
file prefix.go
file prefix_dec.go
file quality.go
file reader.go
file ringbuffer.go
file state.go
file static_dict.go
file static_dict_lut.go
file symbol_list.go
file transform.go
file utf8_util.go
file util.go
file write_bits.go
file writer.go