You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
Its introducing an unnecessary for loop into the implementation to be general case; would be better to use Span<byte> values as a params type overload; so:
Span.IndexOfAny(Span<byte> span, byte value)
@davidfowl, should the signature take a Span value instead, i.e.
Span.IndexOfAny(Span<byte> span, Span<byte> values)
?Note, we don't need index/count as initially requested:
Span.IndexOfAny(Span<byte> span, byte value, int index, int count)
The text was updated successfully, but these errors were encountered: