Edytuj

Udostępnij za pośrednictwem


XxHash128.HashToUInt128(ReadOnlySpan<Byte>, Int64) Method

Definition

Important

This API is not CLS-compliant.

Computes the XXH128 hash of the provided data.

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

Parameters

source
ReadOnlySpan<Byte>

The data to hash.

seed
Int64

The seed value for this hash computation. The default is zero.

Returns

The computed XXH128 hash.

Attributes

Applies to