Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + const CompressionCanaryGzip + const CompressionCanaryLZW + const CompressionCanarySnappy + const CompressionTypeGzip + const CompressionTypeLZW + const CompressionTypeSnappy + func Compress(data []byte, config *CompressionConfig) ([]byte, error) + func Decompress(data []byte) ([]byte, bool, error) + type CompressUtilReadCloser struct + func (c *CompressUtilReadCloser) Close() error + type CompressionConfig struct + GzipCompressionLevel int + Type string