Open dkropachev opened 3 weeks ago
Let's define negative sign as const and use it instead of int64(-1)<<32
int64(-1)<<32
func decInt64(p []byte) int64 { if p[0] > math.MaxInt8 { return int64(-1)<<32 | int64(p[0])<<24 | int64(p[1])<<16 | int64(p[2])<<8 | int64(p[3]) } return int64(p[0])<<24 | int64(p[1])<<16 | int64(p[2])<<8 | int64(p[3]) }
@illia-li can you please take over this one.
Let's define negative sign as const and use it instead of
int64(-1)<<32