Class UnsafeMethods
Unsafe and native methods.
Namespace: Evergine.Common
Assembly: Evergine.Common.dll
Syntax
public static class UnsafeMethods
Methods
ClonePointer(IntPtr, int)
Clones the pointer.
Declaration
public static IntPtr ClonePointer(IntPtr source, int dataSize)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | source | The source. |
int | dataSize | Size of the data. |
Returns
Type | Description |
---|---|
IntPtr | New IntPtr created. |
CopyPointer(IntPtr, IntPtr, int)
Copies the pointers.
Declaration
public static void CopyPointer(IntPtr source, IntPtr destination, int count)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | source | The source. |
IntPtr | destination | The destination. |
int | count | The count. |