Table of Contents

Method Copy

Namespace
Zyl.ExSpans
Assembly
ExSpans.dll

Copy(void*, void*, nuint)

Copies a block of memory from memory location source to memory location destination (将内存块从内存位置 source 复制到内存位置 destination).

[CLSCompliant(false)]
public static void Copy(void* source, void* destination, nuint byteCount)

Parameters

source void*

A pointer to the source of data to be copied (指向要复制的数据源的指针).

destination void*

A pointer to the destination memory block where the data is to be copied (指向要在其中复制数据的目标内存块的指针).

byteCount nuint

The size, in bytes, to be copied from the source location to the destination (要从源位置复制到目标的大小(以字节为单位)).