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

◆ Memcpy() [2/2]

static unsafe void System.Buffer.Memcpy ( byte * pDest,
int destIndex,
byte[] src,
int srcIndex,
int len )
inlinestaticpackage

Definition at line 84 of file Buffer.cs.

85 {
86 Memmove(ref pDest[(uint)destIndex], ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(src), (nint)(uint)srcIndex), (uint)len);
87 }
static void Memmove(ref byte dest, ref byte src, nuint len)
Definition Buffer.cs:215
static unsafe ref byte GetArrayDataReference(Array array)

References System.Runtime.InteropServices.MemoryMarshal.GetArrayDataReference(), System.len, and System.Buffer.Memmove().