// MarshalMsg implements msgp.Marshaler func (z *roaringArray) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 4 // string "keys" o = append(o, 0x84, 0xa4, 0x6b, 0x65, 0x79, 0x73) o = msgp.AppendArrayHeader(o, uint32(len(z.keys))) for zhct := range z.keys { o = msgp.AppendUint16(o, z.keys[zhct]) } // string "needCopyOnWrite" o = append(o, 0xaf, 0x6e, 0x65, 0x65, 0x64, 0x43, 0x6f, 0x70, 0x79, 0x4f, 0x6e, 0x57, 0x72, 0x69, 0x74, 0x65) o = msgp.AppendArrayHeader(o, uint32(len(z.needCopyOnWrite))) for zcua := range z.needCopyOnWrite { o = msgp.AppendBool(o, z.needCopyOnWrite[zcua]) } // string "copyOnWrite" o = append(o, 0xab, 0x63, 0x6f, 0x70, 0x79, 0x4f, 0x6e, 0x57, 0x72, 0x69, 0x74, 0x65) o = msgp.AppendBool(o, z.copyOnWrite) // string "conserz" o = append(o, 0xa7, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x7a) o = msgp.AppendArrayHeader(o, uint32(len(z.conserz))) for zxhx := range z.conserz { // map header, size 2 // string "t" o = append(o, 0x82, 0xa1, 0x74) o = msgp.AppendUint8(o, uint8(z.conserz[zxhx].t)) // string "r" o = append(o, 0xa1, 0x72) o, err = z.conserz[zxhx].r.MarshalMsg(o) if err != nil { return } } return }
// MarshalMsg implements msgp.Marshaler func (z Person) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 3 // string "Name" o = append(o, 0x83, 0xa4, 0x4e, 0x61, 0x6d, 0x65) o = msgp.AppendString(o, z.Name) // string "Age" o = append(o, 0xa3, 0x41, 0x67, 0x65) o = msgp.AppendUint8(o, z.Age) // string "Height" o = append(o, 0xa6, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74) o = msgp.AppendFloat64(o, z.Height) return }
// MarshalMsg implements msgp.Marshaler func (z *containerSerz) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "t" o = append(o, 0x82, 0xa1, 0x74) o = msgp.AppendUint8(o, uint8(z.t)) // string "r" o = append(o, 0xa1, 0x72) o, err = z.r.MarshalMsg(o) if err != nil { return } return }
// MarshalMsg implements msgp.Marshaler func (z *Group) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "Name" o = append(o, 0x82, 0xa4, 0x4e, 0x61, 0x6d, 0x65) o = msgp.AppendString(o, z.Name) // string "Members" o = append(o, 0xa7, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73) o = msgp.AppendArrayHeader(o, uint32(len(z.Members))) for xvk := range z.Members { // map header, size 3 // string "Name" o = append(o, 0x83, 0xa4, 0x4e, 0x61, 0x6d, 0x65) o = msgp.AppendString(o, z.Members[xvk].Name) // string "Age" o = append(o, 0xa3, 0x41, 0x67, 0x65) o = msgp.AppendUint8(o, z.Members[xvk].Age) // string "Height" o = append(o, 0xa6, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74) o = msgp.AppendFloat64(o, z.Members[xvk].Height) } return }
// MarshalMsg implements msgp.Marshaler func (z *A) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 6 // string "Name" o = append(o, 0x86, 0xa4, 0x4e, 0x61, 0x6d, 0x65) o = msgp.AppendString(o, z.Name) // string "BirthDay" o = append(o, 0xa8, 0x42, 0x69, 0x72, 0x74, 0x68, 0x44, 0x61, 0x79) o = msgp.AppendInt64(o, z.BirthDay) // string "Phone" o = append(o, 0xa5, 0x50, 0x68, 0x6f, 0x6e, 0x65) o = msgp.AppendString(o, z.Phone) // string "Siblings" o = append(o, 0xa8, 0x53, 0x69, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x73) o = msgp.AppendInt64(o, z.Siblings) // string "Spouse" o = append(o, 0xa6, 0x53, 0x70, 0x6f, 0x75, 0x73, 0x65) o = msgp.AppendUint8(o, z.Spouse) // string "Money" o = append(o, 0xa5, 0x4d, 0x6f, 0x6e, 0x65, 0x79) o = msgp.AppendFloat64(o, z.Money) return }
// MarshalMsg implements msgp.Marshaler func (z contype) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return }