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

◆ InitBlockUnaligned()

static void Internal.Runtime.CompilerServices.Unsafe.InitBlockUnaligned ( ref byte startAddress,
byte value,
uint byteCount )
inlinestatic

Definition at line 107 of file Unsafe.cs.

108 {
109 for (uint num = 0u; num < byteCount; num++)
110 {
111 AddByteOffset(ref startAddress, num) = value;
112 }
113 }

References System.byteCount, and System.value.

Referenced by System.SpanHelpers.ClearWithoutReferences(), and System.Span< T >.Fill().