// EncodeMsg implements msgp.Encodable
func (z DocumentID) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.WriteUint(uint(z))
	if err != nil {
		return
	}
	return
}
// EncodeMsg implements msgp.Encodable
func (z DocumentList) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.WriteArrayHeader(uint32(len(z)))
	if err != nil {
		return
	}
	for bai := range z {
		err = en.WriteUint(uint(z[bai]))
		if err != nil {
			return
		}
	}
	return
}