Command bench measures go-compressions/lz4 against the pierrec/lz4 reference (the de-facto Go LZ4 library) on the same machine: LZ4-block compression ratio, single-core compression throughput, and single-core decompression throughput.
Package xz is a pure-Go decoder for the .xz container (xz-file-format.txt, tukaani.org) whose memory follows the decoded data and not the sizes a header declares.
Package appleoracle exposes macOS's own libcompression so a test can ask the platform what the bytes should be, instead of asserting against bytes the implementation under test produced.
Package lzo decodes the LZO1X compressed bytestream and the lzop (.lzo) container, in pure Go, with no cgo and no third-party dependency.
Package lzip decodes the lzip (.lz) compressed file format.
Package adc decodes Apple Data Compression (ADC), the byte-oriented LZ77 variant Apple uses for the "UDCO" flavour of UDIF disk images and, before that, for resources in classic Mac OS.
Package compress reads the .Z format of compress(1) in pure Go, with no cgo.
Package bzip2 implements the bzip2 compressed data format in pure Go, with no cgo.
Package lz4 implements reading and writing lz4 compressed data (a frame), as specified in http://fastcompression.blogspot.fr/2013/04/lz4-streaming-format-final.html.
Package deflate implements the DEFLATE compressed data format (RFC 1951) in pure Go, with no cgo.
Package xz supports the compression and decompression of xz files.
Package compression 提供基于标准库 gzip/zlib 的 ByteBuf 压缩编解码器。
Package compress is a collection of compression libraries.
Package jose provides high level functions for producing (signing, encrypting and compressing) or consuming (decoding) Json Web Tokens using Java Object Signing and Encryption spec
Package archiver facilitates convenient, cross-platform, high-level archival and compression operations for a variety of formats and compression algorithms.