XxHash64.HashToUInt64(ReadOnlySpan<Byte>, Int64) 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 XxHash64 hash of the provided data.
[System.CLSCompliant(false)]
public static ulong HashToUInt64 (ReadOnlySpan<byte> source, long seed = 0);
[<System.CLSCompliant(false)>]
static member HashToUInt64 : ReadOnlySpan<byte> * int64 -> uint64
Public Shared Function HashToUInt64 (source As ReadOnlySpan(Of Byte), Optional seed As Long = 0) As ULong
Parameters
- source
- ReadOnlySpan<Byte>
The data to hash.
- seed
- Int64
The seed value for this hash computation.
Returns
The computed XxHash64 hash.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.