Method Clear
Clear(void*, nuint)
Clears a block of memory (清零内存块).
[CLSCompliant(false)]
public static void Clear(void* ptr, nuint byteCount)
Parameters
ptr
void*A pointer to the block of memory that should be cleared (指向应清零的内存块的指针).
byteCount
nuintThe size, in bytes, of the block to clear (要清零的块的大小(以字节为单位)).