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

◆ ClearWithoutReferences()

static void System.SpanHelpers.ClearWithoutReferences ( ref byte b,
nuint byteLength )
inlinestatic

Definition at line 2788 of file SpanHelpers.cs.

2789 {
2790 if (byteLength != 0)
2791 {
2792 if (byteLength <= 768)
2793 {
2795 }
2796 else
2797 {
2798 Buffer._ZeroMemory(ref b, byteLength);
2799 }
2800 }
2801 }
static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount)
Definition Unsafe.cs:107

References System.Buffer._ZeroMemory(), and Internal.Runtime.CompilerServices.Unsafe.InitBlockUnaligned().

Referenced by System.Span< T >.Clear(), System.Array.Clear(), System.Array.Clear(), and System.Buffer.ZeroMemory().