Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/sarama
/ Encode
Method
Encode
utils.go:90–92 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
type
ByteEncoder []byte
89
90
func
(b ByteEncoder) Encode() ([]byte, error) {
91
return
b, nil
92
}
93
94
func
(b ByteEncoder) Length() int {
95
return
len(b)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected