[Overview][Classes][Index] | Reference for unit 'externalreader' (#fcl-res)

# TExternalResourceReader

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

External file resource reader

## Declaration

Source position: externalreader.pp line 29

`type TExternalResourceReader = class(TAbstractResourceReader)`
`protected`
`function GetExtensions; override;`
`function GetDescription; override;`
`procedure Load(); override;`
`function CheckMagic(); override;`
`public`
`constructor Create; override;`
`destructor Destroy; override;`
`property Endianess: Byte; [r]` |  | The byte order used in the file
`end;`

## Inheritance

`TExternalResourceReader` |  | External file resource reader
`TAbstractResourceReader` |  | Base abstract resource reader class
`TObject`

## 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

TExternalResourceReader.Endianess |  | The byte order used in the file
TAbstractResourceReader |  | Base abstract resource reader class
TExternalResourceWriter |  | External file resource writer