Sign in Join
FPDoc Onlineexperiment

TAbstractResource.UpdateRawData procedure

Member of TAbstractResourcepublicIn unit resource

Updates RawData stream.

Declaration

pascal
procedure UpdateRawData; virtual; abstract

Description

When operating on resource data with more high-level streams than RawData (e.g: TBitmapResource.BitmapData) RawData contents are no longer valid. This method ensures that RawData stream is properly synchronized with the contents of the higher-level stream.

Normally a resource writer doesn't need to call this method when it is about to write the resource data to a stream, since TResources class takes care of this before telling the resource writer to write resources to a stream.

See also

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