Repository navigation
Tags
Tags
Dictionary compression and Reader, Writer and lz4c fixes Writer.ReadFrom works after Write or an earlier ReadFrom and buffers a partial block like Write, so repeated io.CopyN calls produce the same frame as Write. With concurrency, Reader.Read and WriteTo no longer return while the read-ahead is still reading, and concurrent WriteTo recycles its buffers after a decode error. DictionaryOption and CompressBlockWithDict compress with a preset dictionary, and purego builds skip the assembly decoders and xxHash32 kernels. cmd/lz4c follows this tag in v1.0.1.
lz4c v1.0.1, built against lz4 v4.1.34
Install it with:
go install github.com/pierrec/lz4/cmd/lz4c@latest
Legacy frame interoperability and OnBlockDone fixes Legacy frames no longer emit uncompressed blocks, which lz4 and the Linux kernel reject, and the Reader accepts the larger compressed blocks that lz4 -l writes. OnBlockDone reports each block once, with its compressed size, before Close returns. cmd/lz4c installs with go install github.com/pierrec/lz4/cmd/lz4c. The code is gofmt and go fix clean for Go 1.22, and test data sources and licences are documented.
lz4c v1.0.0, built against lz4 v4.1.33
First tagged release of the lz4c command, now its own module at
github.com/pierrec/lz4/cmd/lz4c. Install it with:
go install github.com/pierrec/lz4/cmd/lz4c@latest
PreviousNext