Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ size
Method
size
protocol.go:176–178 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
174
}
175
176
func
(h requestHeader) size() int32 {
177
return
4 + 2 + 2 + 4 + sizeofString(h.ClientID)
178
}
179
180
func
(h requestHeader) writeTo(wb *writeBuffer) {
181
wb.writeInt32(h.Size)
Callers
8
ApiVersions
Method · 0.95
writeFetchRequestV2
Method · 0.95
writeFetchRequestV5
Method · 0.95
writeFetchRequestV10
Method · 0.95
writeListOffsetRequestV1
Method · 0.95
writeProduceRequestV2
Method · 0.95
writeProduceRequestV3
Method · 0.95
writeProduceRequestV7
Method · 0.95
Calls
1
sizeofString
Function · 0.85
Tested by
no test coverage detected