XxHash32.HashToUInt32(ReadOnlySpan<Byte>, Int32) 方法

定义

重要

此 API 不符合 CLS。

计算所提供数据的 XxHash32 哈希。

[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

参数

source
ReadOnlySpan<Byte>

要哈希的数据。

seed
Int32

此哈希计算的种子值。 默认值为零。

返回

计算的 XxHash32 哈希。

属性

适用于