Memory.MemoryCopy Method

Definition

Overloads

MemoryCopy(Byte*, Byte*, Int64)
MemoryCopy(Byte*, Byte[], Int32, Int64)
MemoryCopy(Byte[], Int32, Byte*, Int32)
MemoryCopy(Byte[], Int32, Byte[], Int32, Int64)

MemoryCopy(Byte*, Byte*, Int64)

public:
 static void MemoryCopy(System::Byte* source, System::Byte* destination, long copyCount);
public static void MemoryCopy (byte* source, byte* destination, long copyCount);
static member MemoryCopy : nativeptr<byte> * nativeptr<byte> * int64 -> unit

Parameters

source
Byte*
destination
Byte*
copyCount
Int64

Applies to

MemoryCopy(Byte*, Byte[], Int32, Int64)

public:
 static void MemoryCopy(System::Byte* source, cli::array <System::Byte> ^ destination, int destStartPosition, long copyCount);
public static void MemoryCopy (byte* source, byte[] destination, int destStartPosition, long copyCount);
static member MemoryCopy : nativeptr<byte> * byte[] * int * int64 -> unit

Parameters

source
Byte*
destination
Byte[]
destStartPosition
Int32
copyCount
Int64

Applies to

MemoryCopy(Byte[], Int32, Byte*, Int32)

public:
 static void MemoryCopy(cli::array <System::Byte> ^ source, int srcStartPosition, System::Byte* destination, int copyCount);
public static void MemoryCopy (byte[] source, int srcStartPosition, byte* destination, int copyCount);
static member MemoryCopy : byte[] * int * nativeptr<byte> * int -> unit

Parameters

source
Byte[]
srcStartPosition
Int32
destination
Byte*
copyCount
Int32

Applies to

MemoryCopy(Byte[], Int32, Byte[], Int32, Int64)

public:
 static void MemoryCopy(cli::array <System::Byte> ^ source, int srcStartPosition, cli::array <System::Byte> ^ destination, int destStartPosition, long copyCount);
public static void MemoryCopy (byte[] source, int srcStartPosition, byte[] destination, int destStartPosition, long copyCount);
static member MemoryCopy : byte[] * int * byte[] * int * int64 -> unit
Public Shared Sub MemoryCopy (source As Byte(), srcStartPosition As Integer, destination As Byte(), destStartPosition As Integer, copyCount As Long)

Parameters

source
Byte[]
srcStartPosition
Int32
destination
Byte[]
destStartPosition
Int32
copyCount
Int64

Applies to