Sign in Join
FPDoc Onlineexperiment

TResourceDataStream.SetCustomStream procedure

Member of TResourceDataStreampublicIn unit resdatastream

Sets a custom stream as the underlying stream

Declaration

pascal
procedure SetCustomStream(aStream: TStream)

Arguments

aStream

The stream to use as the underlying stream. It can be nil

Description

This method sets a custom stream as the underlying stream.

If aStream is nil, a new memory stream is used as the underlying stream. This can be used to remove a previously set custom stream as the underlying stream.

Usually it is called by TAbstractResource.SetCustomRawDataStream.

See also

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