Table of Contents

XXH32_Raw Method

XXH32_Raw(ReadOnlySpan<byte>, int, uint)

public static uint XXH32_Raw(ReadOnlySpan<byte> input, int length, uint seed)

The XXH32 hash function.

Parameters

input ReadOnlySpan<byte>

The data to hash.

length int

The length of input. It is undefined behavior to have length larger than the capacity of input.

seed uint

A 32-bit value to seed the hash with.

Returns

uint

The 32-bit calculated hash value.