func (t *Request) Unmarshal(r *wipro.Reader) { t.APIKey = r.ReadInt16() t.APIVersion = r.ReadInt16() t.CorrelationID = r.ReadInt32() t.ClientID = r.ReadString() t.RequestMessage.Unmarshal(r) }
func (t *ProduceRequest) Unmarshal(r *wipro.Reader) { t.RequiredAcks = r.ReadInt16() t.Timeout = r.ReadInt32() t.MessageSetInTopics = make([]MessageSetInTopic, int(r.ReadInt32())) for i := range t.MessageSetInTopics { t.MessageSetInTopics[i].Unmarshal(r) } }
func (t *MemberAssignment) Unmarshal(r *wipro.Reader) { t.Version = r.ReadInt16() t.PartitionAssignments.Unmarshal(r) }
func (t *ProtocolMetadata) Unmarshal(r *wipro.Reader) { t.Version = r.ReadInt16() t.Subscription.Unmarshal(r) t.UserData = r.ReadBytes() }
func (t *ErrorCode) Unmarshal(r *wipro.Reader) { (*t) = ErrorCode(r.ReadInt16()) }