package
4.0.1
Repository: https://github.com/containers/image.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AlgorithmByName returns the compressor by its name.
AutoDecompress takes a stream and returns an uncompressed version of the same stream.
Bzip2Decompressor is a DecompressorFunc for the bzip2 compression algorithm.
CompressStream returns the compressor by its name.
DetectCompression returns a DecompressorFunc if the input is recognized as a compressed format, nil otherwise.
DetectCompressionFormat returns a DecompressorFunc if the input is recognized as a compressed format, nil otherwise.
GzipDecompressor is a DecompressorFunc for the gzip compression algorithm.
XzDecompressor is a DecompressorFunc for the xz compression algorithm.
ZstdDecompressor is a DecompressorFunc for the zstd compression algorithm.

# Variables

Bzip2 compression.
Gzip compression.
Xz compression.
Zstd compression.

# Type aliases

Algorithm is a compression algorithm that can be used for CompressStream.
DecompressorFunc returns the decompressed stream, given a compressed stream.