public static int IndexOfAny(this ReadOnlySpan <byte> span, ReadOnlySpan <byte> values) { return(SpanHelpers.IndexOfAny(ref MemoryMarshal.GetReference(span), span.Length, ref MemoryMarshal.GetReference(values), values.Length)); }
public static int IndexOfAny(this ReadOnlySpan <byte> span, ReadOnlySpan <byte> values) { return(SpanHelpers.IndexOfAny(ref span.DangerousGetPinnableReference(), span.Length, ref values.DangerousGetPinnableReference(), values.Length)); }
public static int IndexOfAny(this ReadOnlySpan <byte> span, byte value0, byte value1, byte value2) { return(SpanHelpers.IndexOfAny(ref MemoryMarshal.GetReference(span), value0, value1, value2, span.Length)); }
public static int IndexOfAny(this ReadOnlySpan <byte> span, byte value0, byte value1, byte value2) { return(SpanHelpers.IndexOfAny(ref span.DangerousGetPinnableReference(), value0, value1, value2, span.Length)); }