Finds the first index of a sequence pattern within a target Uint8Array.
The source buffer to search within.
The sequence of bytes to find.
The starting index in source to begin searching from. Defaults to 0.
The zero-based index of the first match, or -1 if not found.
High-performance, zero-dependency
Uint8Arraybinary manipulation utilities.See