Skip to content

PKZip.ZipReader.MoveNext

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

PKZip.ZipReader.MoveNext

Method Signature

 Function MoveNext(ExtractTo As Writeable) As Boolean

Parameters

Name Type Comment
ExtractTo Writeable The stream to extract the current entry into. To skip extracting the current entry, or if the current entry is a directory, pass Nil.

Return value

Returns True if extraction succeeded and the next entry is ready. The last entry will return False and set ZipReader.LastError to ERR_END_ARCHIVE.

Remarks

This method extracts the current entry into the ExtractTo parameter and then reads the metadata of the next entry. The next entry then becomes the current entry. If there are no more entries then this method returns False. Pass Nil as the ExtractTo parameter to skip extracting the current entry.

Entry-level points of interest denoted by "☜"



Clone this wiki locally