Skip to main content

read_bounded_len

Function read_bounded_len 

Source
fn read_bounded_len(
    data: &mut Cursor<&[u8]>,
    max: usize,
    field: &str,
) -> Result<usize>