DecompressedData Event

This event fires with decompressed data.

Syntax

ANSI (Cross Platform)
virtual int FireDecompressedData(ZipStreamDecompressedDataEventParams *e);
typedef struct {
const char *Data; int lenData; int reserved; } ZipStreamDecompressedDataEventParams; Unicode (Windows) virtual INT FireDecompressedData(ZipStreamDecompressedDataEventParams *e);
typedef struct {
LPCSTR Data; INT lenData; INT reserved; } ZipStreamDecompressedDataEventParams;
- (void)onDecompressedData:(NSData*)data;
#define EID_ZIPSTREAM_DECOMPRESSEDDATA 2

virtual INT IPWORKSZIP_CALL FireDecompressedData(LPSTR &lpData, INT &lenData);

Remarks

The DecompressedData event fires as compressed data is available when DecompressData or DecompressBlock is called. This may fire one or more times as data is decompressed.

Data holds the current block of decompressed data.

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