Skip to main content

read_length

Function read_length 

Source
fn read_length(bytes: &[u8]) -> Result<(usize, usize), ServiceError>
Expand description

Reads a BER length, returning the length and the number of octets it took.