()
| 146 | } |
| 147 | |
| 148 | func (t createTopicsRequestV0ReplicaAssignment) size() int32 { |
| 149 | return sizeofInt32(t.Partition) + |
| 150 | (int32(len(t.Replicas)+1) * sizeofInt32(0)) // N+1 because the array length is a int32 |
| 151 | } |
| 152 | |
| 153 | func (t createTopicsRequestV0ReplicaAssignment) writeTo(wb *writeBuffer) { |
| 154 | wb.writeInt32(t.Partition) |
nothing calls this directly
no test coverage detected