Method: Zip::InputStream#get_next_entry

Defined in:
lib/zip/input_stream.rb

#get_next_entryObject

Returns a ZipEntry object. It is necessary to call this method on a newly created ZipInputStream before reading from the first entry in the archive. Returns nil when there are no more entries.



90
91
92
93
# File 'lib/zip/input_stream.rb', line 90

def get_next_entry
  @archiveIO.seek(@currentEntry.next_header_offset, IO::SEEK_SET) if @currentEntry
  open_entry
end