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

Interface ContentEncoder

internal/content_coding.go:165–167  ·  view source on GitHub ↗

ContentEncoder applies a wrapper encoding to byte buffers.

Source from the content-addressed store, hash-verified

163
164// ContentEncoder applies a wrapper encoding to byte buffers.
165type ContentEncoder interface {
166 Encode([]byte) ([]byte, error)
167}
168
169// GzipEncoder compresses the buffer using gzip at the default level.
170type GzipEncoder struct {

Callers 8

WriteMethod · 0.95
TestListenDataFunction · 0.95
TestListenConnectionFunction · 0.95
TestSocketListenerFunction · 0.95
ToBytesFunction · 0.65
migrateFunction · 0.65
SerializeBatchMethod · 0.65
SerializeBatchMethod · 0.65

Implementers 8

GzipEncoderinternal/content_coding.go
ZlibEncoderinternal/content_coding.go
ZstdEncoderinternal/content_coding.go
IdentityEncoderinternal/content_coding.go
encodePlanUint8CodecBinaryUint64plugins/outputs/postgresql/datatype_ui
encodePlanUint8CodecTextUint64plugins/outputs/postgresql/datatype_ui
encodePlanUint8CodecBinaryUint64Valuerplugins/outputs/postgresql/datatype_ui
encodePlanUint8CodecTextUint64Valuerplugins/outputs/postgresql/datatype_ui

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…