[Overview][Types][Classes][Index] Reference for unit 'resdatastream' (#fcl-res)

TResourceDataStream.Compare

Compares the stream to another one

Declaration

Source position: resdatastream.pp line 77

public function TResourceDataStream.Compare(

  aStream: TStream

):Boolean;

Arguments

aStream

  

The stream to compare to this one. It can be nil

Function result

True if the contents of the two streams are the same

Description

This methods compares the stream with aStream. If they are of the same length and their contents are the same, true is returned, false otherwise.

See also

TAbstractResource.CompareContents

  

Compares the contents of the resource to the contents of another one


Documentation generated on: Sep 28 2017