[][src]Function patternscan::pattern_matches

pub fn pattern_matches(bytes: &[u8], pattern: &Pattern) -> bool

Determine whether a byte slice matches a pattern.