Skip to main content

read_header_ranged_from

Function read_header_ranged_from 

Source
pub fn read_header_ranged_from(
    src: &mut dyn RangeSource,
    format: FileFormat,
    first: u64,
    stop: &dyn Fn() -> bool,
) -> Result<Header, RangeError>
Expand description

As read_header_ranged with first range first (at least 8 bytes): small for the fuzz target and tests, to cross many ranges.