Sign in Join
FPDoc Onlineexperiment

TExternalResourceReader class

In unit externalreader

External file resource reader

Declaration

pascal
TExternalResourceReader = class(TAbstractResourceReader)

Inheritance

  1. TExternalResourceReader
  2. TAbstractResourceReader

Description

This class provides a reader for .fpcres files: they are standalone files containing resources.

Standalone files are files that don't get linked with the final executable. They are used as a fallback solution on all those platforms for which an internal resource format is not available.

At runtime the resource file is read by Free Pascal RTL to provide resource support to the application.

After an external file has been read, Endianess property holds the byte order used in the file.

See also

Properties

EndianesspublicThe byte order used in the file

Methods

GetExtensionsprotectedReturns the extensions the reader is registered for
GetDescriptionprotectedReturns the description of the reader
LoadprotectedLoads resources from a stream
CheckMagicprotectedChecks whether a stream is in a format the reader recognizes
CreatepublicCreates a new reader object
Destroypublic

Inherited

From TAbstractResourceReader (9)

AddNoTree CallSubReaderLoad Description Extensions GetTree SetDataOffset SetDataSize SetHeaderSize SetRawData

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