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
destinationTDestination address (目标地址).
sourceTSource address (源地址).
elementCountnuintElement count(元素数量).
Type Parameters
TThe element type (元素的类型).