func (z *BigInt) MarshalMsg(b []byte) (o []byte, err error) {
	o = msgp.Require(b, z.Msgsize())
	o = append(o, 0x91)
	o = msgp.AppendBool(o, z.Sign() > 0)
	o = msgp.AppendBytes(o, z.Value.Bytes())
	return
}
MarshalMsg implements msgp.Marshaler
package math
import (
	"github.com/tinylib/msgp/msgp"
	"math/big"
)
func (z *BigInt) DecodeMsg(dc *msgp.Reader) (err error) {
	var zb0001 uint32
	zb0001, err = dc.ReadArrayHeader()
	if err != nil {
		return
	}
	if zb0001 != 1 {
		err = msgp.ArrayError{Wanted: 1, Got: zb0001}
		return
	}
	sign, err := dc.ReadBool()
	if err != nil {
		return
	}
	bytes, err := dc.ReadBytes([]byte{})
	if err != nil {
		return
	}
	z.Value = big.NewInt(0).SetBytes(bytes)
	if !sign {
		z.Value = z.Value.Neg(z.Value)
	}
	return
}
func (z *BigInt) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.Append(0x91)
	if err != nil {
		return
	}
	err = en.WriteBool(z.Value.Sign() > 0)
	err = en.WriteBytes(z.Value.Bytes())
	if err != nil {
		return
	}
	return
}