package zcompress
import "zgo.at/zstd/zcompress"
Index ¶
Functions ¶
func AutoGzip ¶
func AutoGzip(r io.Reader) (io.ReadCloser, error)
AutoGzip automatically decompressed the reader if it looks like it's compressed with gzip.
Unlike gzip.Reader, Close() will close both the gzip.Reader and the underlying reader (if it has a Close method).
Source Files ¶
zgzip.go
- Version
- v0.0.0-20241125224656-49fafbb06ca9 (latest)
- Published
- Nov 25, 2024
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 3 days ago –
Tools for package owners.