Data.DB.BuffersEqual

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BuffersEqual(Buf1, Buf2: Pointer; Size: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall BuffersEqual(void * Buf1, void * Buf2, int Size);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

Indicates whether two buffers have the same contents.

Buf1 and Buf2 are pointers to buffers and Size is a byte count. BuffersEqual returns true if the two buffers have identical contents for all Size bytes and false otherwise.