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

◆ GetFNVHashCode() [2/2]

static int System.Reflection.Internal.Hash.GetFNVHashCode ( ImmutableArray< byte > data)
inlinestaticpackage

Definition at line 36 of file Hash.cs.

37 {
38 int num = -2128831035;
39 for (int i = 0; i < data.Length; i++)
40 {
41 num = (num ^ data[i]) * 16777619;
42 }
43 return num;
44 }

References System.Collections.Immutable.ImmutableArray< T >.Length.