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

Method size

heartbeat.go:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (t heartbeatRequestV0) size() int32 {
80 return sizeofString(t.GroupID) +
81 sizeofInt32(t.GenerationID) +
82 sizeofString(t.MemberID)
83}
84
85func (t heartbeatRequestV0) writeTo(wb *writeBuffer) {
86 wb.writeString(t.GroupID)

Callers

nothing calls this directly

Calls 2

sizeofStringFunction · 0.85
sizeofInt32Function · 0.85

Tested by

no test coverage detected