Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetFNVHashCode() [1/2]

static int System.Reflection.Internal.Hash.GetFNVHashCode ( byte[] data)
inlinestaticpackage

Definition at line 26 of file Hash.cs.

27 {
28 int num = -2128831035;
29 for (int i = 0; i < data.Length; i++)
30 {
31 num = (num ^ data[i]) * 16777619;
32 }
33 return num;
34 }

Referenced by System.Reflection.Internal.ByteSequenceComparer.GetHashCode(), and System.Reflection.Internal.ByteSequenceComparer.GetHashCode().