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

Method writeInt8

protocol/encode.go:218–221  ·  view source on GitHub ↗
(i int8)

Source from the content-addressed store, hash-verified

216}
217
218func (e *encoder) writeInt8(i int8) {
219 writeInt8(e.buffer[:1], i)
220 e.Write(e.buffer[:1])
221}
222
223func (e *encoder) writeInt16(i int16) {
224 writeInt16(e.buffer[:2], i)

Callers 4

writeToVersion1Method · 0.95
encodeBoolMethod · 0.95
encodeInt8Method · 0.95
writeToVersion2Method · 0.95

Calls 2

WriteMethod · 0.95
writeInt8Function · 0.85

Tested by

no test coverage detected