pub fn pattern_matches( pattern: &[u8], wildcard: bool, bytes: &[u8], ) -> Result<bool, MonitorError>