MCPcopy
hub / github.com/influxdata/telegraf / ZlibEncoder

Struct ZlibEncoder

internal/content_coding.go:245–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245type ZlibEncoder struct {
246 writer *zlib.Writer
247 buf *bytes.Buffer
248}
249
250func NewZlibEncoder(options ...EncodingOption) (*ZlibEncoder, error) {
251 cfg := encoderConfig{level: zlib.DefaultCompression}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected