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

◆ MarkBit() [2/2]

void System.Collections.Generic.BitHelper.MarkBit ( int bitPosition)
inlinepackage

Definition at line 16 of file BitHelper.cs.

17 {
18 int num = bitPosition / 32;
19 if ((uint)num < (uint)_span.Length)
20 {
21 _span[num] |= 1 << bitPosition % 32;
22 }
23 }
int Length
Definition Span.cs:70

References System.Collections.Generic.BitHelper._span, and System.Span< T >.Length.