TElfResourceReader.CheckMagic function
Declaration
function CheckMagic(aStream: TStream): Boolean; overrideDescription
Not described here; this is what TAbstractResourceReader.CheckMagic says of it:
Checks whether a stream is in a format the reader recognizes
A TResources object invokes this method when it is searching for a reader able to read a stream, passing that stream as the aStream parameter.
aStream position is already correctly set: the reader must start to read from there.
This method should read the minimum amount of information needed to recognize the contents of a stream as a valid format: it usually means reading a magic number or a file header.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
