The OpenD Programming Language

ArchiveMember

A single file or directory inside the archive.

Members

Properties

compressedData
ubyte[] compressedData [@property getter]

Data of member in compressed form.

compressedSize
uint compressedSize [@property getter]

Size of data of member in compressed form.

compressionMethod
CompressionMethod compressionMethod [@property getter]
CompressionMethod compressionMethod [@property setter]

Get or set compression method used for this member.

crc32
uint crc32 [@property getter]

Cyclic redundancy check (CRC) value.

expandedData
ubyte[] expandedData [@property getter]
ubyte[] expandedData [@property setter]

Get or set data of member in uncompressed form. When an existing archive is read ZipArchive.expand needs to be called before this can be accessed.

expandedSize
uint expandedSize [@property getter]

Size of data of member in uncompressed form.

extractVersion
ushort extractVersion [@property getter]

The zip file format version needed to extract this member.

fileAttributes
uint fileAttributes [@property setter]
uint fileAttributes [@property getter]

Get or set the OS specific file attributes for this archive member.

index
uint index [@property setter]

The index of this archive member within the archive. Set this to a different value for reordering the members of an archive.

time
DosFileTime time [@property getter]
SysTime time [@property setter]
DosFileTime time [@property setter]

Get or set the last modification time for this member.

Variables

comment
string comment;

Comment associated with this member.

extra
ubyte[] extra;

The content of the extra data field for this member. See original documentation for a description of the general format of this data. May contain undocumented 3rd-party data.

flags
ushort flags;

Contains some information on how to extract this archive. See original documentation for details.

internalAttributes
ushort internalAttributes;

Internal attributes. Bit 1 is set, if the member is apparently in binary format and bit 2 is set, if each record is preceded by the length of the record.

name
string name;

The name of the archive member; it is used to index the archive directory for the member. Each member must have a unique name. Do not change without removing member from the directory first.

Meta