FileInputData Property

When This property is set, the class will read in the data from This property instead of reading from the file contained in the DecompressedName property.

Syntax

ANSI (Cross Platform)
int GetFileInputData(int iFileIndex, char* &lpFileInputData, int &lenFileInputData);
int SetFileInputData(int iFileIndex, const char* lpFileInputData, int lenFileInputData); Unicode (Windows) INT GetFileInputData(INT iFileIndex, LPSTR &lpFileInputData, INT &lenFileInputData);
INT SetFileInputData(INT iFileIndex, LPCSTR lpFileInputData, INT lenFileInputData);
- (NSString*)fileInputData:(int)fileIndex;
- (void)setFileInputData:(int)fileIndex:(NSString*)newFileInputData;

- (NSData*)fileInputDataB:(int)fileIndex; - (void)setFileInputDataB:(int)fileIndex:(NSData*)newFileInputData;
#define PID_JAR_FILEINPUTDATA 11

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_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Jar_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

When This property is set, the class will read in the data from This property instead of reading from the file contained in the FileDecompressedName property.

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 not available at design time.

Data Type

Binary String

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