Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
228
func
(e *encoder) writeInt32(i int32) {
229
writeInt32(e.buffer[:4], i)
230
e.Write(e.buffer[:4])
231
}
232
233
func
(e *encoder) writeInt64(i int64) {
234
writeInt64(e.buffer[:8], i)
Callers
10
writeToVersion1
Method · 0.95
WriteRequest
Function · 0.95
encodeInt32
Method · 0.95
encodeArray
Method · 0.95
encodeNullArray
Method · 0.95
writeBytes
Method · 0.95
writeNullBytes
Method · 0.95
writeNullBytesFrom
Method · 0.95
writeToVersion2
Method · 0.95
WriteResponse
Function · 0.95
Calls
2
Write
Method · 0.95
writeInt32
Function · 0.85
Tested by
no test coverage detected