malwaredb_types::utils

Function bytes_offset_match

source
pub fn bytes_offset_match(haystack: &[u8], offset: usize, needle: &[u8]) -> bool
Expand description

Convenience function to see if a byte sequence in a buffer matches some other byte sequence