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-20250313035723-1ece53b5d53e (latest)
- Published
- Mar 13, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 day ago –
Tools for package owners.