[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TReader.ReadSignature

Read stream signature from the stream

Declaration

Source position: classesh.inc line 1309

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: Sep 28 2017