Functions.MemClear 方法 |
命名空间: XSharp.RT
FUNCTION MemClear( ptrDest AS IntPtr, dwCount AS DWORD ) AS IntPtr
public static IntPtr MemClear( IntPtr ptrDest, uint dwCount )
提示: |
---|
此函数允许直接操作内存位置,使用时需格外小心。 |
1LOCAL ptrBuff AS PTR 2ptrBuff := MemAlloc(10) 3MemClear(ptrBuff, 10)