Builds the Byte_Set holding bytes. Reuse it across searches.
Byte_Search :: #import "Extensions/Byte_Search";
delimiters := Byte_Search.make_byte_set(.[#char " ", #char "\t", #char ",", #char ";"]);
assert(Byte_Search.find(*delimiters, "one;two three") == 3);make_byte_set :: (bytes: [] u8) -> Byte_Set
Parameters
- bytes: [] u8