pub fn encode_int32(value: i32, buf: &mut impl EncodeSink)Expand description
Encode an int32 value as a varint (wire type 0).
Negative values are sign-extended to 64 bits before encoding, always
producing a 10-byte varint. Use encode_sint32 when negative values are
common.