Modifier

Partager via


XxHash32.HashToUInt32(ReadOnlySpan<Byte>, Int32) Method

Definition

Important

This API is not CLS-compliant.

Computes the XxHash32 hash of the provided data.

[System.CLSCompliant(false)]
public static uint HashToUInt32 (ReadOnlySpan<byte> source, int seed = 0);
[<System.CLSCompliant(false)>]
static member HashToUInt32 : ReadOnlySpan<byte> * int -> uint32
Public Shared Function HashToUInt32 (source As ReadOnlySpan(Of Byte), Optional seed As Integer = 0) As UInteger

Parameters

source
ReadOnlySpan<Byte>

The data to hash.

seed
Int32

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

Returns

The computed XxHash32 hash.

Attributes

Applies to