Edit

Share via


XxHash64.HashToUInt64(ReadOnlySpan<Byte>, Int64) Method

Definition

Important

This API is not CLS-compliant.

Computes the XxHash64 hash of the provided data.

[System.CLSCompliant(false)]
public static ulong HashToUInt64 (ReadOnlySpan<byte> source, long seed = 0);
[<System.CLSCompliant(false)>]
static member HashToUInt64 : ReadOnlySpan<byte> * int64 -> uint64
Public Shared Function HashToUInt64 (source As ReadOnlySpan(Of Byte), Optional seed As Long = 0) As ULong

Parameters

source
ReadOnlySpan<Byte>

The data to hash.

seed
Int64

The seed value for this hash computation.

Returns

The computed XxHash64 hash.

Attributes

Applies to