編輯

共用方式為


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

Definition

Important

This API is not CLS-compliant.

Computes the XXH3 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 XXH3 hash.

Attributes

Applies to