Repository navigation
HC dictionaries, C-compatible HC levels and Writer fixes
Dictionary compression works with the HC levels and with concurrency, and DictionaryIDOption writes and checks the dictionary ID. CompressorCCompatHC and CCompatLevel2 to CCompatLevel12 produce the same blocks as the C library's HC levels. Reader decodes linked-block frames without allocating, and the amd64 decoder is faster on short sequences. Writer keeps SizeOption's size across resets, fails after a failed Flush, and Reader again accepts a declared content size of 0. LICENSE-lz4 holds the C library's license for the ported code. cmd/lz4c follows this tag in v1.1.0, with compress -D and -ccompat; it requires Go 1.27.