brotli
brotli copied to clipboard
Pure Go Brotli encoder and decoder
Hi, I created a bunch of compressed files with the help of your package (version 1.0.4). I can decompress them with your library, however I am failing to decompress them...
Reason: 1.12 was released more than [3 years ago](https://go.dev/blog/go1.12), and since then, many changes/fixes were applied. The project may benefit from these changes if we consider facts like security and...
Signed-off-by: luke
In google/brotli latest release ([v1.0.9](https://github.com/google/brotli/releases/tag/v1.0.9)), they are mentioning that they fixed the vulnerability issue: https://nvd.nist.gov/vuln/detail/CVE-2020-8927: ```SECURITY: decoder: fix integer overflow when input chunk is larger than 2GiB (CVE-2020-8927)``` I am...
Hello. I wonder, if this work could be integrated into google/brotli. As I understand, this repo is generated by c2go project. But: * it is unclear, if it required ad-hoc...
With some data, I'm seeing this error while it works with the rest. What does this error mean and how can I solve it? This is my code: ```golang //...
In theory google/brotli has support for shared dictionaries. In practice I've not seen any example anywhere. Does this package support shared dictionaries? Could you maybe provide an example?
## Description The gzip package and strings.NewReader always return io.EOF when calling their Read methods with any size slice if the data is empty. However, the brotli Read method requires...
Hi, I use the module to compress 3MB HTML and Javascript. The response takes seconds ~1.8s. The variant without the brotli middleware takes ~20ms Compression level: 6 (Default) Machine: Mac...
there is a line 48: [https://github.com/andybalholm/brotli/blob/master/metablock_command.go#L48](https://github.com/andybalholm/brotli/blob/master/metablock_command.go#L48) The code: `func initBlockSplitterCommand(..., histograms *[]histogramCommand, ...){` ` if histograms == nil || cap(*histograms) < int(*histograms_size) {` ` *histograms = make([]histogramCommand, (*histograms_size))` ` }...