MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / MemoryCopy

Method MemoryCopy

Source/Engine/Utilities/Utils.cs:26–31  ·  view source on GitHub ↗

Copies data from one memory location to another using an unmanaged memory pointers. Uses low-level platform impl. The source location. The destination location. The length (amount of bytes to copy).

(IntPtr source, IntPtr destination, int length)

Source from the content-addressed store, hash-verified

24 /// <param name="destination">The destination location.</param>
25 /// <param name="length">The length (amount of bytes to copy).</param>
26 [Obsolete("Use MemoryCopy with long length and source/destination parameters swapped instead")]
27 public static void MemoryCopy(IntPtr source, IntPtr destination, int length)
28 {
29 // [Deprecated on 30.05.2021, expires on 30.05.2022]
30 MemoryCopy(destination, source, (ulong)length);
31 }
32
33 /// <summary>
34 /// Copies data from one memory location to another using an unmanaged memory pointers.

Callers 10

WriteBytesMethod · 0.80
ReadBytesMethod · 0.80
MarshalKeyframesMethod · 0.80
CopyImpulseDataMethod · 0.80
ReadMethod · 0.80
WriteMethod · 0.80
StructureToByteArrayMethod · 0.80
OnDebugFlowMethod · 0.80
AddPatchMethod · 0.80
OnEditingEndMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected