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

