HashCode<T>.Combine(ReadOnlySpan<T>) 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.
Gets a content hash from the input ReadOnlySpan<T> instance using the xxHash32 algorithm.
public static int Combine (ReadOnlySpan<T> span);
static member Combine : ReadOnlySpan<'T (requires 'T : struct)> -> int
static member Combine : ReadOnlySpan<'T> -> int
Public Shared Function Combine (span As ReadOnlySpan(Of T)) As Integer
Parameters
- span
- ReadOnlySpan<T>
The input ReadOnlySpan<T> instance
Returns
The xxHash32 value for the input ReadOnlySpan<T> instance
Remarks
The xxHash32 is only guaranteed to be deterministic within the scope of a single app execution