pub fn search<F: Read + Seek>(
file: &mut F,
size: u64,
re: &Regex,
from: u64,
backward: bool,
budget_bytes: u64,
budget_time: Duration,
) -> Result<FileSearchBytesResult>Expand description
The search over file (size bytes). Forward: the first match starting at or after from; backward: the last
one starting at or before it.