Create a new instance of TStreamAdapter.
Source position: classesh.inc line 1664
public constructor TStreamAdapter.Create( |
Stream: TStream; |
Ownership: TStreamOwnership = soReference |
); |
Create creates a new instance of TStreamAdaptor. It initializes TStreamAdapter.Stream with Stream and initializes StreamOwnerShip with Ownership.
TStreamAdapter is an abstract class: descendants must be created that implement the actual functionality.
|
Determines what happens with the stream when the adaptor is freed. |
|
|
Stream on which adaptor works. |