Parent

Methods

Class/Module Index [+]

Quicksearch

Rex::Zip::CompInfo

This structure holds the following data pertaining to a Zip entry's data.

data crc compressed size uncompressed size

Public Class Methods

new(crc, compsz, uncompsz) click to toggle source
# File lib/rex/zip/blocks.rb, line 18
def initialize(crc, compsz, uncompsz)
        @crc, @compsz, @uncompsz = crc, compsz, uncompsz
end

Public Instance Methods

pack() click to toggle source
# File lib/rex/zip/blocks.rb, line 22
def pack
        [ @crc, @compsz, @uncompsz ].pack('VVV')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.