Sign in Join
FPDoc Onlineexperiment

TResourceDataStream.Cached property

Member of TResourceDataStreampublicIn unit resdatastream

Controls the copy-on-write behaviour of the stream

Declaration

pascal
property Cached: Boolean read GetCached write SetCached;

Description

When this property is set to true, a cached stream is used as the underlying stream for read operations. If it is set to false, no caching is performed and data is always copied to a memory stream.

Note that this property does nothing if the underlying stream is a custom stream.

By default this property is true.

See also

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