// MarshalMsg implements msgp.Marshaler func (z interval16) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "start" o = append(o, 0x82, 0xa5, 0x73, 0x74, 0x61, 0x72, 0x74) o = msgp.AppendUint16(o, z.start) // string "last" o = append(o, 0xa4, 0x6c, 0x61, 0x73, 0x74) o = msgp.AppendUint16(o, z.last) return }
// 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 uint16Slice) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendArrayHeader(o, uint32(len(z))) for zzpf := range z { o = msgp.AppendUint16(o, z[zzpf]) } return }
// MarshalMsg implements msgp.Marshaler func (z *arrayContainer) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 1 // string "content" o = append(o, 0x81, 0xa7, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74) o = msgp.AppendArrayHeader(o, uint32(len(z.content))) for zxvk := range z.content { o = msgp.AppendUint16(o, z.content[zxvk]) } return }
// MarshalMsg implements msgp.Marshaler func (z *runContainer16) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "iv" o = append(o, 0x82, 0xa2, 0x69, 0x76) o = msgp.AppendArrayHeader(o, uint32(len(z.iv))) for zxpk := range z.iv { // map header, size 2 // string "start" o = append(o, 0x82, 0xa5, 0x73, 0x74, 0x61, 0x72, 0x74) o = msgp.AppendUint16(o, z.iv[zxpk].start) // string "last" o = append(o, 0xa4, 0x6c, 0x61, 0x73, 0x74) o = msgp.AppendUint16(o, z.iv[zxpk].last) } // string "card" o = append(o, 0xa4, 0x63, 0x61, 0x72, 0x64) o = msgp.AppendInt64(o, z.card) return }
// MarshalMsg implements msgp.Marshaler func (z *addHelper16) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 5 // string "runstart" o = append(o, 0x85, 0xa8, 0x72, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x72, 0x74) o = msgp.AppendUint16(o, z.runstart) // string "runlen" o = append(o, 0xa6, 0x72, 0x75, 0x6e, 0x6c, 0x65, 0x6e) o = msgp.AppendUint16(o, z.runlen) // string "actuallyAdded" o = append(o, 0xad, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x6c, 0x79, 0x41, 0x64, 0x64, 0x65, 0x64) o = msgp.AppendUint16(o, z.actuallyAdded) // string "m" o = append(o, 0xa1, 0x6d) o = msgp.AppendArrayHeader(o, uint32(len(z.m))) for zxvk := range z.m { // map header, size 2 // string "start" o = append(o, 0x82, 0xa5, 0x73, 0x74, 0x61, 0x72, 0x74) o = msgp.AppendUint16(o, z.m[zxvk].start) // string "last" o = append(o, 0xa4, 0x6c, 0x61, 0x73, 0x74) o = msgp.AppendUint16(o, z.m[zxvk].last) } // string "rc" o = append(o, 0xa2, 0x72, 0x63) if z.rc == nil { o = msgp.AppendNil(o) } else { // map header, size 2 // string "iv" o = append(o, 0x82, 0xa2, 0x69, 0x76) o = msgp.AppendArrayHeader(o, uint32(len(z.rc.iv))) for zbzg := range z.rc.iv { // map header, size 2 // string "start" o = append(o, 0x82, 0xa5, 0x73, 0x74, 0x61, 0x72, 0x74) o = msgp.AppendUint16(o, z.rc.iv[zbzg].start) // string "last" o = append(o, 0xa4, 0x6c, 0x61, 0x73, 0x74) o = msgp.AppendUint16(o, z.rc.iv[zbzg].last) } // string "card" o = append(o, 0xa4, 0x63, 0x61, 0x72, 0x64) o = msgp.AppendInt64(o, z.rc.card) } return }
// MarshalMsg implements msgp.Marshaler func (z *runIterator16) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 4 // string "rc" o = append(o, 0x84, 0xa2, 0x72, 0x63) if z.rc == nil { o = msgp.AppendNil(o) } else { o, err = z.rc.MarshalMsg(o) if err != nil { return } } // string "curIndex" o = append(o, 0xa8, 0x63, 0x75, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78) o = msgp.AppendInt64(o, z.curIndex) // string "curPosInIndex" o = append(o, 0xad, 0x63, 0x75, 0x72, 0x50, 0x6f, 0x73, 0x49, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78) o = msgp.AppendUint16(o, z.curPosInIndex) // string "curSeq" o = append(o, 0xa6, 0x63, 0x75, 0x72, 0x53, 0x65, 0x71) o = msgp.AppendInt64(o, z.curSeq) return }