func (e *negateCodec) DecodeValue(ectx bsoncodec.DecodeContext, vr bsonrw.ValueReader, val reflect.Value) error {
	i, err := vr.ReadInt64()
	if err != nil {
		return err
	}

	val.SetInt(i * -1)
	return nil
}
// DecodeValue negates the value of ID when reading
DecodeValue negates the value of ID when reading
// DecodeValue negates the value of ID when reading
func (e *negateCodec) DecodeValue(ectx bsoncodec.DecodeContext, vr bsonrw.ValueReader, val reflect.Value) error {
	i, err := vr.ReadInt64()
	if err != nil {
		return err
	}
	val.SetInt(i * -1)
	return nil
}
func ( e * negateCodec ) DecodeValue ( ectx bsoncodec . DecodeContext , vr bsonrw . ValueReader , val reflect . Value ) error { i , err := vr . ReadInt64 ( ) if err != nil { return err } val . SetInt ( i * - 1 ) return nil }
DecodeValue negates the value of ID when reading
DecodeValue negates the value of ID when reading