[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.CompareMemory

CompareMemory Method

CompareMemory(IntPtr, IntPtr, int)

Compares two block of memory.

Declaration
public static bool CompareMemory(IntPtr from, IntPtr against, int sizeToCompare)
Parameters
Type Name Description
IntPtr from

The pointer to compare from.

IntPtr against

The pointer to compare against.

int sizeToCompare

The size in bytes to compare.

Returns
Type Description
bool

true if the buffers are equivalent; otherwise, false.