FileDecompressedSize Property

The size of the file, as decompressed outside the archive.

Syntax

ANSI (Cross Platform)
int64 GetFileDecompressedSize(int iFileIndex);

Unicode (Windows)
LONG64 GetFileDecompressedSize(INT iFileIndex);
- (long long)fileDecompressedSize:(int)fileIndex;
#define PID_JAR_FILEDECOMPRESSEDSIZE 10

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Jar_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Jar_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

-1

Remarks

The size of the file, as decompressed outside the archive. If an archive is open for read (i.e. has been scanned or decompressed), this information will be read from the archive headers. If an archive is not open for read, the class will retrieve the information for the corresponding value of FileDecompressedName from the local file system.

A value of -1 will be returned in case of an I/O error.

The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.

This property is read-only and not available at design time.

Data Type

Long64

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]