View source code
							
							
						
								Display the source code in std/zip.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								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.
							
						Class std.zip.ArchiveMember
A member of the ZipArchive.
						
				class ArchiveMember
				;
						
					
				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 getAttributesorDirEntry, for this archive member. | 
| fileAttributes[get] | uint | Get the OS specific file attributes for the archive member. | 
| index[get] | uint | The index of this archive member within the archive. | 
| 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 | Test whether thisis equal too.
 The default implementation only compares by identity (using theisoperator).
 Generally, overrides foropEqualsshould attempt to compare objects by their contents. | 
| toHash | Compute hash function for Object. | 
| toString | Convert Object to a human readable string. | 
Authors
License
					Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.