RAD Studio VCL Reference
TStreamAdapter Class

TStreamAdapter implements the IStream interface on a TStream object.

TStreamAdapter = class(TInterfacedObject, IStream);
class TStreamAdapter : public TInterfacedObject, public IStream;

DescriptionTStreamAdapter is an interfaced object that implements the IStream interface. It is associated with a TStream object in the constructor, which it uses to implement the IStream methods.

Note: On Windows, TStreamAdapter allows a TStream object to be used as a COM-based IStream interface.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!