Sign in Join
FPDoc Onlineexperiment

TReader.ReadSignature procedure

Member of TReaderpublicIn unit Classes

Read stream signature from the stream.

Declaration

pascal
procedure ReadSignature

Description

ReadSignature is called when starting to read a root component from a stream. Some streams contain a signature (header) to detect whether the stream contains correct data.

Errors

If the stream does not start with the correct signature, an EReadError exception will be raised.

See also

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