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

Method writeTo

deletetopics.go:127–132  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

125}
126
127func (t deleteTopicsResponse) writeTo(wb *writeBuffer) {
128 if t.v >= v1 {
129 wb.writeInt32(t.ThrottleTime)
130 }
131 wb.writeArray(len(t.TopicErrorCodes), func(i int) { t.TopicErrorCodes[i].writeTo(wb) })
132}
133
134type deleteTopicsResponseV0TopicErrorCode struct {
135 // Topic holds the topic name

Callers 1

Calls 3

writeArrayMethod · 0.80
writeToMethod · 0.65
writeInt32Method · 0.45

Tested by 1