Sign in Join
FPDoc Onlineexperiment

TResourceDataStream.Compare function

Member of TResourceDataStreampublicIn unit resdatastream

Compares the stream to another one

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.