Sign in Join
FPDoc Onlineexperiment

TResResourceWriter.Write procedure

Member of TResResourceWriterprotectedIn unit reswriter

Declaration

pascal
procedure Write(aResources: TResources; aStream: TStream); override

Description

Not described here; this is what TAbstractResourceWriter.Write says of it:

Writes resources to a stream

A TResources object invokes this method when it needs to be written to a stream, passing itself as the aResources parameter and the stream as the aStream parameter.

aStream position is already correctly set: the writer must start to write from there.

A writer must write data in the way specified by the format it supports: usually this means writing a header and all resources contained in the TResources object.

For each resource, a writer should write some information about the resource (like type and name) in a way defined by the format it implements, and the resource data, which is accessible by RawData property of the resource.

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