Versions in this module Expand all Collapse all v1 v1.7.4 Dec 4, 2026 Changes in this version + var ErrZlibUnsupported = errors.New("deflate: zlib stream requires preset dictionary or oversized window") + func NewDeflateReader(r io.Reader) (io.ReadCloser, error) + type ZlibSniff int + const SniffNotZlib + const SniffZlib + const SniffZlibUnsupported + func ClassifyZlib(br *bufio.Reader) ZlibSniff