[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'resource' (#fcl-res)

TAbstractResource.UpdateRawData

Updates RawData stream.

Declaration

Source position: resource.pp line 162

public procedure TAbstractResource.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.

Remark: 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

TAbstractResource.RawData

  

The raw resource data stream


Documentation generated on: Sep 28 2017