Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Add Span.IndexOfAny overload #1293

@ahsonkhan

Description

@ahsonkhan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions