InputData Property

Specifies the data to compress or decompress.

Syntax

ANSI (Cross Platform)
int GetInputData(char* &lpInputData, int &lenInputData);
int SetInputData(const char* lpInputData, int lenInputData); Unicode (Windows) INT GetInputData(LPSTR &lpInputData, INT &lenInputData);
INT SetInputData(LPCSTR lpInputData, INT lenInputData);
@property (nonatomic,readwrite,assign,getter=inputData,setter=setInputData:) NSString* inputData;
- (NSString*)inputData;
- (void)setInputData:(NSString*)newInputData;

@property (nonatomic,readwrite,assign,getter=inputDataB,setter=setInputDataB:) NSData* inputDataB; - (NSData*)inputDataB; - (void)setInputDataB:(NSData*)newInputData;
#define PID_ZIPSTREAM_INPUTDATA 2

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

Default Value

""

Remarks

This property specifies the data to compress or decompress.

When decompressing this should be set to the compressed data before calling DecompressData or DecompressBlock.

When compressing this should be set to the decompressed data before calling CompressData or CompressBlock.

Data Type

Binary String

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