node/lib/metasm/metasm/exe_format/zip.rb
# zipalign: ensure uncompressed data starts on a 4-aligned offset
ensure uncompressed data starts on a 4-aligned offset
ensure uncompressed data starts on a 4 - aligned offset
def zipalign(f, edata)
		if f.compress_method == 'NONE' and not f.extra
			o = (edata.length + f.fname.length + 2) & 3
			f.extra = " "*(4-o) if o > 0
		end
	end
def zipalign ( f , edata ) if f . compress_method == 'NONE' and not f . extra o = ( edata . length + f . fname . length + 2 ) & 3 f . extra = " " * ( 4 - o ) if o > 0 end end
zipalign: ensure uncompressed data starts on a 4-aligned offset
zipalign : ensure uncompressed data starts on a 4 - aligned offset
f
edata