Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
TestCodecs
Function · 0.65
testEncodeDecode
Function · 0.65
testCompressedMessages
Function · 0.65
BenchmarkCompression
Function · 0.65
String
Method · 0.65
UnmarshalText
Method · 0.65
Implementers
5
noopCodec
compress/compress_test.go
Codec
compress/zstd/zstd.go
Codec
compress/lz4/lz4.go
Codec
compress/snappy/snappy.go
Codec
compress/gzip/gzip.go
Calls
no outgoing calls
Tested by
4
TestCodecs
Function · 0.52
testEncodeDecode
Function · 0.52
testCompressedMessages
Function · 0.52
BenchmarkCompression
Function · 0.52