Alternative of Patterns in ALTS.
Get Length of hit at index soff in haystack or size_t.max if none.
Find this in haystack at Offset soff.
See Implementation
Alternative of Patterns in ALTS.