Versions in this module Expand all Collapse all v0 v0.4.36 Sep 6, 2022 v0.4.35 Aug 22, 2022 Changes in this version + var Codecs = [...]Codec + var GzipCodec gzip.Codec + var Lz4Codec lz4.Codec + var SnappyCodec snappy.Codec + var ZstdCodec zstd.Codec + type Codec interface + Code func() int8 + Name func() string + NewReader func(r io.Reader) io.ReadCloser + NewWriter func(w io.Writer) io.WriteCloser + type Compression int8 + const Gzip + const Lz4 + const None + const Snappy + const Zstd + func (c *Compression) UnmarshalText(b []byte) error + func (c Compression) Codec() Codec + func (c Compression) MarshalText() ([]byte, error) + func (c Compression) String() string