func (codec *VarCodec) EncodeNVarInt64(buffer []byte, value int64) error {
	return codec.encodeNVarInt(buffer, value)
}
EncodeNVarInt64 encode value as NVarInt64 to buffer
package encoding
import (
	"errors"
)
func SizeOfNVarInt32(value int32) int {
	return sizeOfNVarInt(int64(value), 32)
}
func (codec *VarCodec) EncodeNVarInt32(buffer []byte, value int32) error {
	return codec.encodeNVarInt(buffer, int64(value))
}
func (codec *VarCodec) DecodeNVarInt32(buffer []byte, value *int32) error {
	var val = int64(*value)
	var err = codec.decodeNVarInt(buffer, &val)
	*value = int32(val)
	return err
}
func SizeOfNVarUInt32(value uint32) int {
	return sizeOfNVarInt(int64(int32(value)), 32)
}
func (codec *VarCodec) EncodeNVarUInt32(buffer []byte, value uint32) error {
	return codec.encodeNVarInt(buffer, int64(int32(value)))
}
func (codec *VarCodec) DecodeNVarUInt32(buffer []byte, value *uint32) error {
	var val = int64(int32(*value))
	var err = codec.decodeNVarInt(buffer, &val)
	*value = uint32(val)
	return err
}
func SizeOfNVarInt64(value int64) int {
	return sizeOfNVarInt(value, 64)
}