func (t *Member) Unmarshal(r *wipro.Reader) { t.MemberID = r.ReadString() t.ClientID = r.ReadString() t.ClientHost = r.ReadString() t.MemberMetadata = r.ReadBytes() t.MemberAssignment.Unmarshal(r) }
func (t *MemberWithMeta) Unmarshal(r *wipro.Reader) { t.MemberID = r.ReadString() t.MemberMetadata = r.ReadBytes() }
func (t *ProtocolMetadata) Unmarshal(r *wipro.Reader) { t.Version = r.ReadInt16() t.Subscription.Unmarshal(r) t.UserData = r.ReadBytes() }
func (t *Message) Unmarshal(r *wipro.Reader) { t.MagicByte = r.ReadInt8() t.Attributes = r.ReadInt8() t.Key = r.ReadBytes() t.Value = r.ReadBytes() }