Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/sarama
/ Encode
Method
Encode
utils.go:67–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
// optimization, and must return the same as len() on the result of Encode().
66
type
Encoder
interface
{
67
Encode() ([]byte, error)
68
Length() int
69
}
70
Callers
14
add
Method · 0.65
OnSend
Method · 0.65
TestInterceptors
Function · 0.65
assertMessageKey
Function · 0.65
assertMessageValue
Function · 0.65
TestConsumerInterceptors
Function · 0.65
TestAsyncProducerInterceptors
Function · 0.65
Partition
Method · 0.65
Partition
Method · 0.65
compress
Function · 0.65
encodeKV
Function · 0.65
messageValueChecker
Function · 0.65
Implementers
1
accessLogEntry
examples/http_server/http_server.go
Calls
no outgoing calls
Tested by
6
OnSend
Method · 0.52
TestInterceptors
Function · 0.52
assertMessageKey
Function · 0.52
assertMessageValue
Function · 0.52
TestConsumerInterceptors
Function · 0.52
TestAsyncProducerInterceptors
Function · 0.52