pub fn encode_signed(buf: &mut BytesMut, value: i32)
Encode a signed integer using minimum octets, two’s complement, big-endian.