class Rex::Zip::DataDesc
This structure is sometimes stored after the file data and used instead of the fields within the Local File Header.
Constants
- SIGNATURE
Public Class Methods
new(compinfo)
click to toggle source
# File lib/rex/zip/blocks.rb, line 61 def initialize(compinfo) @compinfo = compinfo end
Public Instance Methods
pack()
click to toggle source
# File lib/rex/zip/blocks.rb, line 65 def pack ret = [ SIGNATURE ].pack('V') ret << @compinfo.pack ret end