Function parse_ber_i32

pub fn parse_ber_i32(i: &[u8]) -> Result<(&[u8], i32), Err<Error>>
Expand description

Parse BER object and try to decode it as a 32-bits signed integer

Return IntegerTooLarge if object is an integer, but can not be represented in the target integer type.