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

Method writeTo

fetch.go:266–269  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

264}
265
266func (t fetchResponseTopicV2) writeTo(wb *writeBuffer) {
267 wb.writeString(t.TopicName)
268 wb.writeArray(len(t.Partitions), func(i int) { t.Partitions[i].writeTo(wb) })
269}
270
271type fetchResponsePartitionV2 struct {
272 Partition int32

Callers

nothing calls this directly

Calls 3

writeArrayMethod · 0.80
writeToMethod · 0.65
writeStringMethod · 0.45

Tested by

no test coverage detected