/img/help/home.gif

TECLStream.SaveToFile

TECLStream


Writes the entire contents of the data stream to the file with a given file name.

 

procedure SaveToFile(const FileName: string);

 

Description

Use SaveToFile to write the decompressed contents of data stream to a file. SaveToFile allows an application to write out the contents of the stream without having to explicitly create and free a file stream object. If the named file cannot be created or opened, SaveToFile raises an exception.