bytes_offset_match

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