Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + func Compress(compressType, flag int, src []byte) ([]byte, error) + func UnCompress(compressType int, src []byte) (ret []byte, err error) + func UnCompressTo(compressType int, src []byte, buf *bytes.Buffer) (err error) + type Flate struct + func (f *Flate) UnCompressTo(compressSrc []byte, buf *bytes.Buffer) error + type Gzip struct + func (g *Gzip) UnCompressTo(compressSrc []byte, buf *bytes.Buffer) error + type Zlib struct + func (z *Zlib) UnCompressTo(compressSrc []byte, buf *bytes.Buffer) error