TOwnerStream class
Stream which uses a second stream as a source.
Declaration
TOwnerStream = class(TStream)Inheritance
Descends from it: TASCII85DecoderStream TASCII85EncoderStream TBase64DecodingStream TBase64EncodingStream TBlowFishStream TBufStream Tcustomzlibstream TIDEAStream TWindowedStream
Description
TOwnerStream can be used when creating stream chains
such as when using encryption and compression streams. It keeps a reference
to the source stream and will automatically free the source stream when
ready (if the
SourceOwner
property is set to
True).See also
Properties
Source | public | Reference to the source stream. |
SourceOwner | public | Indicates whether the ownerstream owns it's source. |
Methods
Create | public | Create a new instance of TOwnerStream. |
Destroy | public | Destroys the TOwnerStream instance and the source stream. |
Fields
FOwner | protected | |
FSource | protected |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
