XxHash32.HashToUInt32(ReadOnlySpan<Byte>, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET