Skip to content

Useless length parameter in ComputeHash for ReadOnlySpan<byte> #27

Description

@Crauzer

public static unsafe ulong ComputeHash(ReadOnlySpan<byte> data, int length, ulong seed = 0)

The length parameter makes no sense in this context. The user is already passing in a Span object which has a Length property that can be used instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions