MCPcopy
hub / github.com/segmentio/kafka-go / Name

Method Name

compress/compress.go:94–94  ·  view source on GitHub ↗

Human-readable name for the codec.

()

Source from the content-addressed store, hash-verified

92
93 // Human-readable name for the codec.
94 Name() string
95
96 // Constructs a new reader which decompresses data from r.
97 NewReader(r io.Reader) io.ReadCloser

Callers 6

TestCodecsFunction · 0.65
testEncodeDecodeFunction · 0.65
testCompressedMessagesFunction · 0.65
BenchmarkCompressionFunction · 0.65
StringMethod · 0.65
UnmarshalTextMethod · 0.65

Implementers 5

noopCodeccompress/compress_test.go
Codeccompress/zstd/zstd.go
Codeccompress/lz4/lz4.go
Codeccompress/snappy/snappy.go
Codeccompress/gzip/gzip.go

Calls

no outgoing calls

Tested by 4

TestCodecsFunction · 0.52
testEncodeDecodeFunction · 0.52
testCompressedMessagesFunction · 0.52
BenchmarkCompressionFunction · 0.52