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

◆ ToIntArrayLength() [2/2]

static int System.Collections.Generic.BitHelper.ToIntArrayLength ( int n)
inlinestaticpackage

Definition at line 35 of file BitHelper.cs.

36 {
37 if (n <= 0)
38 {
39 return 0;
40 }
41 return (n - 1) / 32 + 1;
42 }