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

Method writeInt32

protocol/encode.go:228–231  ·  view source on GitHub ↗
(i int32)

Source from the content-addressed store, hash-verified

226}
227
228func (e *encoder) writeInt32(i int32) {
229 writeInt32(e.buffer[:4], i)
230 e.Write(e.buffer[:4])
231}
232
233func (e *encoder) writeInt64(i int64) {
234 writeInt64(e.buffer[:8], i)

Callers 10

writeToVersion1Method · 0.95
WriteRequestFunction · 0.95
encodeInt32Method · 0.95
encodeArrayMethod · 0.95
encodeNullArrayMethod · 0.95
writeBytesMethod · 0.95
writeNullBytesMethod · 0.95
writeNullBytesFromMethod · 0.95
writeToVersion2Method · 0.95
WriteResponseFunction · 0.95

Calls 2

WriteMethod · 0.95
writeInt32Function · 0.85

Tested by

no test coverage detected