Function rangeMatch

ulong rangeMatch(bool invert, chars...) (
  const ubyte* bytes
) pure nothrow @nogc @trusted;

Returns

the number of bytes starting at the given location that match (or do not match if invert is true) the byte ranges in chars.