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

Method writeTo

offsetcommit.go:206–212  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

204}
205
206func (t offsetCommitRequestV2) writeTo(wb *writeBuffer) {
207 wb.writeString(t.GroupID)
208 wb.writeInt32(t.GenerationID)
209 wb.writeString(t.MemberID)
210 wb.writeInt64(t.RetentionTime)
211 wb.writeArray(len(t.Topics), func(i int) { t.Topics[i].writeTo(wb) })
212}
213
214type offsetCommitResponseV2PartitionResponse struct {
215 Partition int32

Callers

nothing calls this directly

Calls 5

writeArrayMethod · 0.80
writeToMethod · 0.65
writeStringMethod · 0.45
writeInt32Method · 0.45
writeInt64Method · 0.45

Tested by

no test coverage detected