def write_file_entry
      write_entry do |path, filetime, name|
        write PKHeader.pk0304(filetime, name.length, true).pack('VvvvvvVVVvv'), name
        ret = deflate_file path
        write PKHeader.pk0708(ret[:crc], ret[:complen], ret[:uncomplen]).pack('VVVV')
        ret
      end
    end
def write_file_entry
      write_entry do |path, filetime, name|
        write PKHeader.pk0304(filetime, name.length, true).pack('VvvvvvVVVvv'), name
        ret = deflate_file path
        write PKHeader.pk0708(ret[:crc], ret[:complen], ret[:uncomplen]).pack('VVVV')
        ret
      end
    end
Write operations