Object
This structure records the compression data and flags about a Zip entry to a file.
# File lib/rex/zip/blocks.rb, line 85 def initialize(entry) @entry = entry end
# File lib/rex/zip/blocks.rb, line 89 def pack path = @entry.relative_path ret = [ SIGNATURE, ZIP_VERSION ].pack('Vv') ret << @entry.flags.pack ret << @entry.info.pack ret << [ path.length, @entry.xtra.length ].pack('vv') ret << path ret << @entry.xtra ret end
[Validate]
Generated with the Darkfish Rdoc Generator 2.