Read a file from arcive to an array of Bytes
Get a stream to read a file from disk
Unit
Syntax
ParametersFileName ZIP file FileName
Bytes Output bytes
FileName ZIP file FileName
Stream Output Stream
LocalHeader Local File header
RemarksThe overload that takes an Integer may be useful when a ZIP file has duplicate filenames.
The Stream returned by this function is a decomression stream wrapper around the interal Stream reading the zip file. You must Free this stream before using other TZipFile methods that change the contents of the ZipFile, such as Read or Add. The overload that takes an Integer may be useful when a ZIP file has duplicate filenames.
See also
|