der_parser::ber

Function parse_ber_u64

Source
pub fn parse_ber_u64(i: &[u8]) -> BerResult<'_, u64>
Expand description

Parse BER object and try to decode it as a 64-bits unsigned integer

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