Enums§
- Compression
- Detected compression format based on magic bytes.
- File
Contents - Holds file contents either as an owned String or a memory-mapped region.
Functions§
- detect_
compression - Detect compression format from the first bytes of a file.
- detect_
compression_ from_ extension - Detect compression format from a file extension.
- gzip_
writer - Creates a gzip-compressed writer wrapping a file at the given path.
- read_
file_ contents - Reads file contents, decompressing if needed.