node/lib/metasm/metasm/exe_format/zip.rb
# scan and decode the 'end of central directory' header
scan and decode the 'end of central directory' header
scan and decode the ' end of central directory ' header
def decode_header
		if not @encoded.ptr = @encoded.data.rindex([MAGIC_ENDCENTRALDIRECTORY].pack('V'))
			raise "ZIP: no end of central directory record"
		end
		@header = EndCentralDirectory.decode(self)
	end
def decode_header if not @encoded . ptr = @encoded . data . rindex ( [ MAGIC_ENDCENTRALDIRECTORY ] . pack ( 'V' ) ) raise "ZIP: no end of central directory record" end @header = EndCentralDirectory . decode ( self ) end
scan and decode the 'end of central directory' header
scan and decode the ' end of central directory ' header