Entry object with zip file description for Reader or Writer


Entry object has fields:

fileName

file name

string

fileSize

file size

Int

fileTime

file time

Date

compressed

compressed

true/false

dataSize

data size

if compressed can be different then file size

Int

data

file content

bytes, can be nil

crc32

crc32 zip

int. can be nil

extraFields

ExtraField Object can be one of enum fields:

FUnknown( tag : Int, bytes : Bytes )
FInfoZipUnicodePath( name : String, crc : Int )
FUtf8

list of ExtraField Object, can be nil (optional)


Examples:


entry = {fileName = 'text.txt', fileSize = 10, fileTime=Lib.Sys.Date.now(), compressed = false, dataSize=0, data=nil, crc32=nil}

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease