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

◆ MemoryCopy() [2/2]

static unsafe void System.Buffer.MemoryCopy ( void * source,
void * destination,
ulong destinationSizeInBytes,
ulong sourceBytesToCopy )
inlinestatic

Definition at line 206 of file Buffer.cs.

207 {
208 if (sourceBytesToCopy > destinationSizeInBytes)
209 {
210 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sourceBytesToCopy);
211 }
212 Memmove(ref *(byte*)destination, ref *(byte*)source, checked((nuint)sourceBytesToCopy));
213 }
static void Memmove(ref byte dest, ref byte src, nuint len)
Definition Buffer.cs:215

References System.destination, System.Buffer.Memmove(), System.source, System.sourceBytesToCopy, and System.ThrowHelper.ThrowArgumentOutOfRangeException().