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

◆ _ZeroMemory()

static unsafe void System.Buffer._ZeroMemory ( ref byte b,
nuint byteLength )
inlinestaticpackage

Definition at line 20 of file Buffer.cs.

21 {
22 fixed (byte* b2 = &b)
23 {
24 __ZeroMemory(b2, byteLength);
25 }
26 }
static unsafe void __ZeroMemory(void *b, nuint byteLength)

References System.Buffer.__ZeroMemory().

Referenced by System.SpanHelpers.ClearWithoutReferences().