3
#ifndef __COMPRESS_ZDECODER_H
4
#define __COMPRESS_ZDECODER_H
6
#include "../../../Common/MyCom.h"
7
#include "../../ICoder.h"
13
public ICompressCoder,
14
public ICompressSetDecoderProperties2,
24
CDecoder(): _properties(0), _numMaxBits(0), _parents(0), _suffixes(0), _stack(0) {};
27
bool Alloc(size_t numItems);
29
MY_UNKNOWN_IMP1(ICompressSetDecoderProperties2)
31
STDMETHOD(CodeReal)(ISequentialInStream *inStream,
32
ISequentialOutStream *outStream, const UInt64 *inSize, const UInt64 *outSize,
33
ICompressProgressInfo *progress);
35
STDMETHOD(Code)(ISequentialInStream *inStream,
36
ISequentialOutStream *outStream, const UInt64 *inSize, const UInt64 *outSize,
37
ICompressProgressInfo *progress);
39
STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size);