()
| 96 | } |
| 97 | |
| 98 | func (t deleteTopicsResponse) size() int32 { |
| 99 | sz := sizeofArray(len(t.TopicErrorCodes), func(i int) int32 { return t.TopicErrorCodes[i].size() }) |
| 100 | if t.v >= v1 { |
| 101 | sz += sizeofInt32(t.ThrottleTime) |
| 102 | } |
| 103 | return sz |
| 104 | } |
| 105 | |
| 106 | func (t *deleteTopicsResponse) readFrom(r *bufio.Reader, size int) (remain int, err error) { |
| 107 | fn := func(withReader *bufio.Reader, withSize int) (fnRemain int, fnErr error) { |
nothing calls this directly
no test coverage detected