pub fn decode_integer(d: &mut Decoder<'_>) -> RpcResult<i32>