boyerMooreHorspoolFind

Returns a pointer to the first occurrence of "needle" within "haystack", or [] if not found. Works like memmem().

Note: In this example needle is a C string. The ending 0x00 will be cut off, so you could call this example with boyermoore_horspool_memmem(haystack, hlen, "abc", sizeof("abc"))

Range
boyerMooreHorspoolFind
(
Range
)
(
Range haystack
,
in Range needle
)
if (
isRandomAccessRange!Range
)

Meta