func castInt64(v uint64) (int64, bool) {
	if v > math.MaxInt64 {
		return 0, false
	}
	return int64(v), true
}
// cast to int64 values that are int64 but that are sent in uint64
// over the wire. Set to 0 if they overflow the MaxInt64 size. This
// cast should be used ONLY while decoding int64 values that are
// sent as uint64 to reduce the payload size, otherwise the approach
// is not correct in the general sense.
cast to int64 values that are int64 but that are sent in uint64
over the wire. Set to 0 if they overflow the MaxInt64 size. This
cast should be used ONLY while decoding int64 values that are
sent as uint64 to reduce the payload size, otherwise the approach
is not correct in the general sense.
// cast to int64 values that are int64 but that are sent in uint64 // over the wire . Set to 0 if they overflow the MaxInt64 size . This // cast should be used ONLY while decoding int64 values that are // sent as uint64 to reduce the payload size otherwise the approach // is not correct in the general sense .
func castInt64(v uint64) (int64, bool) {
	if v > math.MaxInt64 {
		return 0, false
	}
	return int64(v), true
}
func castInt64 ( v uint64 ) ( int64 , bool ) { if v > math . MaxInt64 { return 0 , false } return int64 ( v ) , true }
cast to int64 values that are int64 but that are sent in uint64
over the wire.
cast to int64 values that are int64 but that are sent in uint64 over the wire .