package
1.18.0
Repository: https://github.com/klauspost/compress.git
Documentation: pkg.go.dev

# Functions

FileInfoHeader creates a partially-populated [FileHeader] from an fs.FileInfo.
NewReader returns a new [Reader] reading from r, which is assumed to have the given size in bytes.
NewWriter returns a new [Writer] writing a zip file to w.
OpenReader will open the Zip file specified by name and return a ReadCloser.
RegisterCompressor registers custom compressors for a specified method ID.
RegisterDecompressor allows custom decompressors for a specified method ID.

# Constants

DEFLATE compressed.
no compression.

# Variables

# Structs

A File is a single file in a ZIP archive.
FileHeader describes a file within a ZIP file.
A ReadCloser is a [Reader] that must be closed when no longer needed.
A Reader serves content from a ZIP archive.
Writer implements a zip file writer.

# Type aliases

A Compressor returns a new compressing writer, writing to w.
A Decompressor returns a new decompressing reader, reading from r.