func (z *CJrecord) DecodeMsg(dc *msgp.Reader) (err error) {
	var field []byte
	_ = field
	var zxvk uint32
	zxvk, err = dc.ReadMapHeader()
	if err != nil {
		return
	}
	for zxvk > 0 {
		zxvk--
		field, err = dc.ReadMapKeyPtr()
		if err != nil {
			return
		}
		switch msgp.UnsafeString(field) {
		case "R":
			if dc.IsNil() {
				err = dc.ReadNil()
				if err != nil {
					return
				}
				z.R = nil
			} else {
				if z.R == nil {
					z.R = new(jprovider.JournalRecord)
				}
				err = z.R.DecodeMsg(dc)
				if err != nil {
					return
				}
			}
		case "C":
			z.C, err = dc.ReadUint64()
			if err != nil {
				return
			}
		default:
			err = dc.Skip()
			if err != nil {
				return
			}
		}
	}
	return
}
DecodeMsg implements msgp.Decodable
package cephprovider
import (
	"github.com/BTrDB/btrdb-server/internal/jprovider"
	"github.com/tinylib/msgp/msgp"
)