Documentation
¶
Overview ¶
Package brotli implements the Brotli reader and writer needed by external formats: WOFF2 decoding and the WeChat WASM artifact. Resource .dat packages intentionally do not use this codec.
The implementation is derived from github.com/andybalholm/brotli v1.2.1. HTTP helpers and the experimental matchfinder encoder are intentionally excluded so runtime builds do not acquire an unrelated net/http dependency.
Index ¶
Constants ¶
const BestCompression = 11
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Source Files
¶
- backward_references.go
- backward_references_hq.go
- bit_cost.go
- bit_reader.go
- block_splitter.go
- block_splitter_command.go
- block_splitter_distance.go
- block_splitter_literal.go
- brotli_bit_stream.go
- cluster.go
- cluster_command.go
- cluster_distance.go
- cluster_literal.go
- command.go
- compress_fragment.go
- compress_fragment_two_pass.go
- constants.go
- context.go
- decode.go
- dictionary.go
- dictionary_hash.go
- doc.go
- encode.go
- encoder_dict.go
- entropy_encode.go
- entropy_encode_static.go
- fast_log.go
- find_match_length.go
- h10.go
- h5.go
- h6.go
- hash.go
- hash_forgetful_chain.go
- hash_longest_match_quickly.go
- histogram.go
- huffman.go
- literal_cost.go
- memory.go
- metablock.go
- metablock_command.go
- metablock_distance.go
- metablock_literal.go
- params.go
- platform.go
- prefix.go
- prefix_dec.go
- quality.go
- reader.go
- ringbuffer.go
- state.go
- static_dict.go
- static_dict_lut.go
- symbol_list.go
- transform.go
- utf8_util.go
- util.go
- write_bits.go
- writer.go