Create

<< Click to Display Table of Contents >>

Navigation:  Classes > TCacheStream > Methods >

Create

SIGNATURE=IW.CacheStream.TCacheStream.Create@TObject@string@TCacheType

 

ETYPE=Method

 

Declaration:

Delphi:

public constructor Create(aOwner: TObject; const aFileName: string; aCacheType: TCacheType = ctOneTime); overload;

C++:

public: __fastcall TCacheStream(TObject * aOwner, const String aFileName, TCacheType aCacheType = ctOneTime);

 

Description: Creates a temp file stream from an existing file provided by the user, and then add it to cache when the stream is destroyed, metadata will be written to the end of the file