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

Method encodeBytes

protocol/encode.go:153–155  ·  view source on GitHub ↗
(v value)

Source from the content-addressed store, hash-verified

151}
152
153func (e *encoder) encodeBytes(v value) {
154 e.writeBytes(v.bytes())
155}
156
157func (e *encoder) encodeCompactBytes(v value) {
158 e.writeCompactBytes(v.bytes())

Callers

nothing calls this directly

Calls 2

writeBytesMethod · 0.95
bytesMethod · 0.65

Tested by

no test coverage detected