(wb *writeBuffer)
| 273 | } |
| 274 | |
| 275 | func (t syncGroupResponseV0) writeTo(wb *writeBuffer) { |
| 276 | wb.writeInt16(t.ErrorCode) |
| 277 | wb.writeBytes(t.MemberAssignments) |
| 278 | } |
| 279 | |
| 280 | func (t *syncGroupResponseV0) readFrom(r *bufio.Reader, sz int) (remain int, err error) { |
| 281 | if remain, err = readInt16(r, sz, &t.ErrorCode); err != nil { |