Unit 'resdatastream' Package
[Overview][Types][Classes][Index] [#fcl-res]

TResourceDataStream.Compare

Compares the stream to another one

Declaration

Source position: resdatastream.pp line 83

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: Dec 23 2024