Versions in this module Expand all Collapse all v1 v1.0.5 Apr 8, 2023 v1.0.4 Jun 20, 2022 Changes in this version type Type + const S2 v1.0.3 Apr 29, 2022 Changes in this version + var ErrNotAvailable = errors.New("Compression type is unavailable (not linked into the binary)") + func Register(t Type, rf func(io.Reader) (io.ReadCloser, error), ...) + type Type uint8 + const Gzip + const None + const Snappy + const Zlib + const Zstd + func (t Type) Available() bool + func (t Type) NewReader(r io.Reader) (io.ReadCloser, error) + func (t Type) NewWriter(w io.Writer) (io.WriteCloser, error) + func (t Type) String() string