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

Method encodeInt32

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

Source from the content-addressed store, hash-verified

123}
124
125func (e *encoder) encodeInt32(v value) {
126 e.writeInt32(v.int32())
127}
128
129func (e *encoder) encodeInt64(v value) {
130 e.writeInt64(v.int64())

Callers

nothing calls this directly

Calls 2

writeInt32Method · 0.95
int32Method · 0.45

Tested by

no test coverage detected