TAbstractResource.CompareContents function
Compares the contents of the resource to the contents of another one
Declaration
function CompareContents(aResource: TAbstractResource): Boolean
; virtualArguments
aResource | The resource to compare to this one |
Function result
True if the contents of the two resources are the same
Description
This methods compares the contents of the resource with the ones of aResource. If they are of the same length and their contents are the same, true is returned, false otherwise.
Usually this methods compares the contents of the two RawData streams, calling TResourceDataStream.Compare, but descendent classes can implement a different algorithm.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
