FileInputData Property

The data of the file to be compressed.

Syntax

ANSI (Cross Platform)
int GetFileInputData(char* &lpFileInputData, int &lenFileInputData);
int SetFileInputData(const char* lpFileInputData, int lenFileInputData); Unicode (Windows) INT GetFileInputData(LPSTR &lpFileInputData, INT &lenFileInputData);
INT SetFileInputData(LPCSTR lpFileInputData, INT lenFileInputData);
@property (nonatomic,readwrite,assign,getter=fileInputData,setter=setFileInputData:) NSString* fileInputData;
- (NSString*)fileInputData;
- (void)setFileInputData:(NSString*)newFileInputData;

@property (nonatomic,readwrite,assign,getter=fileInputDataB,setter=setFileInputDataB:) NSData* fileInputDataB; - (NSData*)fileInputDataB; - (void)setFileInputDataB:(NSData*)newFileInputData;
#define PID_GZIP_FILEINPUTDATA 9

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Gzip_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Gzip_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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.

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]