[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.CompareMemory

CompareMemory Method

CompareMemory(nint, nint, int)

Compares two block of memory.

Declaration
public static bool CompareMemory(nint from, nint against, int sizeToCompare)
Public Shared Function CompareMemory(from As IntPtr, against As IntPtr, sizeToCompare As Integer) As Boolean
Parameters
Type Name Description
nint from

The pointer to compare from.

nint 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.