Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TReader.ReadSignature

Read stream signature from the stream.

Declaration

Source position: classesh.inc line 1952

public procedure TReader.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

TAbstractObjectReader.ReadSignature

  

Read resource signature.

TAbstractObjectWriter.WriteSignature

  

Write stream signature to the stream.


Documentation generated on: Oct 27 2024