public static IntPtr Copy(byte *dest, byte *src, long count)
 {
     Debug.Assert(count >= 0);
     return(PlatformDetails.RunningOnPosix
         ? Syscall.Copy(dest, src, count)
         : Win32UnmanagedMemory.Copy(dest, src, count));
 }
Exemple #2
0
 public static IntPtr Copy(byte *dest, byte *src, int count)
 {
     return(Platform.RunningOnPosix
         ? PosixUnmanagedMemory.Copy(dest, src, count)
         : Win32UnmanagedMemory.Copy(dest, src, count));
 }