View source code
Display the source code in std/zip.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Class std.zip.ArchiveMember
A member of the ZipArchive
.
Inherits from
-
(base class)Object
Fields
Name | Type | Description |
---|---|---|
comment
|
string |
Read/Write: comment associated with this member.
|
extra
|
ubyte[] |
Read/Write: extra data for this member.
|
flags
|
ushort |
Read/Write: normally set to 0 |
internalAttributes
|
ushort |
Read/Write |
name
|
string |
Read/Write: Usually the file 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.
|
Properties
Name | Type | Description |
---|---|---|
compressedData
[get]
|
ubyte[] |
Read Only: data of member in compressed form. |
compressedSize
[get]
|
uint |
Read Only: size of data of member in compressed form. |
compressionMethod
[get]
|
CompressionMethod |
Read compression method used for this member |
compressionMethod
[set]
|
CompressionMethod |
Write compression method used for this member |
crc32
[get]
|
uint |
Read Only: cyclic redundancy check (CRC) value |
diskNumber
[get]
|
ushort |
Read Only: should be 0. |
expandedData
[get]
|
ubyte[] |
Read data of member in uncompressed form. |
expandedData
[set]
|
ubyte[] |
Write data of member in uncompressed form. |
expandedSize
[get]
|
uint |
Read Only: size of data of member in expanded form. |
extractVersion
[get]
|
ushort |
Read Only |
fileAttributes
[set]
|
uint |
Set the OS specific file attributes, as obtained by
std.file.getAttributes or std.file.DirEntry.attributes , for this archive member.
|
fileAttributes
[get]
|
uint |
Get the OS specific file attributes for the archive member. |
time
[set]
|
SysTime |
Set the last modification time for this member.
|
time
[get]
|
uint |
Get the last modification time for this member.
|
Methods
Name | Description |
---|---|
factory
|
Create instance of class specified by the fully qualified name
classname .
The class must either have no constructors or have
a default constructor.
|
opCmp
|
Compare with another Object obj.
|
opEquals
|
Returns !=0 if this object does have the same contents as obj.
|
toHash
|
Compute hash function for Object .
|
toString
|
Convert Object to a human readable string.
|