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

Method writeTo

metadata.go:280–287  ·  view source on GitHub ↗
(wb *writeBuffer)

Source from the content-addressed store, hash-verified

278}
279
280func (p partitionMetadataV6) writeTo(wb *writeBuffer) {
281 wb.writeInt16(p.PartitionErrorCode)
282 wb.writeInt32(p.PartitionID)
283 wb.writeInt32(p.Leader)
284 wb.writeInt32Array(p.Replicas)
285 wb.writeInt32Array(p.Isr)
286 wb.writeInt32Array(p.OfflineReplicas)
287}

Callers

nothing calls this directly

Calls 3

writeInt32ArrayMethod · 0.80
writeInt16Method · 0.45
writeInt32Method · 0.45

Tested by

no test coverage detected