e-CryptIt Engine - Compression Xojo Plugin

ZipArchiveReader.ExtractFileToStringFromEntryIndex Method

Extracts file to a string from a given index in the ZipArchive

ExtractFileToStringFromEntryIndex(
   index as UInt32) as String

Parameters

index
The index of the entry in the zip archive. First entry is number zero.The index of the entry in the zip archive. First entry is number zero.

Returns

String
The extracted file as string.

Remarks

Check the entry records for size, and be sensible use this to extract data from small files. For example to read meta data files from Zip archives. Do not use it to extract huge files, as that will just load the memory excessively.

See Also

ZipArchiveReader Class