(wb *writeBuffer)
| 137 | } |
| 138 | |
| 139 | func (r metadataResponseV1) writeTo(wb *writeBuffer) { |
| 140 | wb.writeArray(len(r.Brokers), func(i int) { r.Brokers[i].writeTo(wb) }) |
| 141 | wb.writeInt32(r.ControllerID) |
| 142 | wb.writeArray(len(r.Topics), func(i int) { r.Topics[i].writeTo(wb) }) |
| 143 | } |
| 144 | |
| 145 | type brokerMetadataV1 struct { |
| 146 | NodeID int32 |
nothing calls this directly
no test coverage detected