Show: Object Pascal C++
Display Preferences

System.SysUtils.CompareMem

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function CompareMem(P1, P2: Pointer; Length: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall CompareMem(void * P1, void * P2, int Length);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Performs a binary comparison of two memory images.

CompareMem performs a binary comparison of Length bytes of memory referenced by P1 to those of P2. CompareMem returns True if the memory referenced by P1 is identical to that of P2.

See Also

Personal tools
Translations