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

Method size

listgroups.go:110–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func (t listGroupsResponseV1) size() int32 {
111 return sizeofInt32(t.ThrottleTimeMS) +
112 sizeofInt16(t.ErrorCode) +
113 sizeofArray(len(t.Groups), func(i int) int32 { return t.Groups[i].size() })
114}
115
116func (t listGroupsResponseV1) writeTo(wb *writeBuffer) {
117 wb.writeInt32(t.ThrottleTimeMS)

Callers

nothing calls this directly

Calls 4

sizeofInt32Function · 0.85
sizeofInt16Function · 0.85
sizeofArrayFunction · 0.85
sizeMethod · 0.65

Tested by

no test coverage detected