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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.