[Overview][Types][Classes] | Reference for unit 'zstream' (#fcl) |
Create a new instance of TGZFileStream
Source position: zstream.pp line 99
public constructor TGZFileStream.Create( |
FileName: String; |
FileMode: TGZOpenMode |
); |
FileName |
|
Name of the gzip file |
FileMode |
|
Open mode for the file. |
Create creates a new instance of the TGZFileStream class. It opens FileName for reading or writing, depending on the FileMode parameter. It is not possible to open the file read-write. If the file is opened for reading, it must exist.
If the file is opened for reading, the TGZFileStream.Read method can be used for reading the data in uncompressed form.
If the file is opened for writing, any data written using the TGZFileStream.Write method will be stored in the file in compressed (deflated) form.
If the file is not found, an EZlibError exception is raised.
|
Removes TGZFileStream instance |
|
|
Open mode for gzip file. |
No notes exist for this page yet.