Class MurmurHash2
- Namespace
- ValveResourceFormat.ThirdParty
- Assembly
- ValveResourceFormat.dll
Provides MurmurHash2 hashing algorithm implementation.
public static class MurmurHash2Inheritance
Inherited Members
Methods
Hash(string, uint)
Computes a MurmurHash2 hash for the given string.
public static uint Hash(string data, uint seed)Parameters
Returns
- uint
-
The hash value.
Hash(ReadOnlySpan<char>, uint)
Computes a MurmurHash2 hash for the given character span.
public static uint Hash(ReadOnlySpan<char> data, uint seed)Parameters
dataReadOnlySpan<char>-
The character span to hash.
seeduint-
The hash seed.
Returns
- uint
-
The hash value.