MCPcopy 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

88type ByteEncoder []byte
89
90func (b ByteEncoder) Encode() ([]byte, error) {
91 return b, nil
92}
93
94func (b ByteEncoder) Length() int {
95 return len(b)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected