Sign in Join
FPDoc Onlineexperiment

resdatastream unit

Contains stream classes to provide copy-on-write functionality

This unit contains various streams that are used to provide copy-on-write mechanism for TAbstractResource.RawData, via more levels of indirection.

Main class is TResourceDataStream, which is the stream used for TAbstractResource.RawData. This class uses an underlying stream, to which it redirects operations.

At a lower level, a TCachedDataStream descendant provides a layer between the original stream and the TResourceDataStream.

Classes and records

TCachedDataStreamclassBase cached stream class
TCachedResourceDataStreamclassAn implementation of a cached stream
TResourceDataStreamclassStream class that provides copy-on-write functionality

Types

TCachedStreamClasstypeCached stream metaclass
TUnderlyingStreamTypeenumerationThe type of the underlying stream of TResourceDataStream

Uses

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