RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.BuffersEqual Function

Indicates whether two buffers have the same contents.

Pascal
function BuffersEqual(Buf1: Pointer; Buf2: Pointer; Size: Integer): Boolean;
C++
Boolean BuffersEqual(void * Buf1, void * Buf2, int Size);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!