Method Memmove
Memmove<T>(ref T, ref readonly T, nuint)
Memory move.If some regions of the source area and the destination overlap, the function ensures that the original source bytes in the overlapping region are copied before being overwritten (内存移动. 如果源区域的某些区域与目标区域重叠, 函数可确保在覆盖之前复制重叠区域中的原始源字节).
[CLSCompliant(false)]
public static void Memmove<T>(ref T destination, ref readonly T source, nuint elementCount)
Parameters
destination
TDestination address (目标地址).
source
TSource address (源地址).
elementCount
nuintElement count(元素数量).
Type Parameters
T
The element type (元素的类型).