📝Protobuf: avoid int32/int64

If you’re using int32/int64, you’re possibly expecting negative values (somewhat often).

However, int32 and int64 are not ZigZag encoded, so negative values for int32 and int64 are always 10-bytes long (even for int32).

Use explicitly-signed types (sint32 and sint64) instead.

Backlinks