Function chiter::search_first[][src]

pub fn search_first(
    pattern: &[u8],
    from: usize,
    to: usize,
    wildcard: u8
) -> Result<usize, SearchError>

Searches for a pattern and stops at the first occurrence, where:

pattern is the pattern to search for,

from is the address to start searching from,

to is the address to stop searching at,

and wildcard is the byte in pattern to ignore.