func (t *Member) Marshal(w *wipro.Writer) { w.WriteString(t.MemberID) w.WriteString(t.ClientID) w.WriteString(t.ClientHost) w.WriteBytes(t.MemberMetadata) t.MemberAssignment.Marshal(w) }
func (t *MemberWithMeta) Marshal(w *wipro.Writer) { w.WriteString(t.MemberID) w.WriteBytes(t.MemberMetadata) }
func (t *ProtocolMetadata) Marshal(w *wipro.Writer) { w.WriteInt16(t.Version) t.Subscription.Marshal(w) w.WriteBytes(t.UserData) }
func (t *Message) Marshal(w *wipro.Writer) { w.WriteInt8(t.MagicByte) w.WriteInt8(t.Attributes) w.WriteBytes(t.Key) w.WriteBytes(t.Value) }