bytes_range

Function bytes_range 

Source
fn bytes_range(
    range: Option<Range>,
    max_len: u64,
) -> Result<(u64, u64), BadRange>