A high performance pattern scanner for bytes.
Add this crate as a dependency to your Cargo.toml
file.
toml
[dependencies]
patternscanner = "0.3.0"
```rust use patternscanner::mt::pattern_scan;
let result = patternscan( &[0x00, 0x01, 0x02, 0x33, 0x35, 0x33, 0x35, 0x07, 0x08, 0x09], "33 35", ); asserteq!(result, [3, 5]); ```
Contributions are welcome.