Skip to content

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

@Crauzer

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.

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