1 // Compress/CopyCoder.h
3 #ifndef __COMPRESS_COPYCODER_H
4 #define __COMPRESS_COPYCODER_H
6 #include "../../ICoder.h"
7 #include "../../../Common/MyCom.h"
12 public ICompressCoder,
13 public ICompressGetInStreamProcessedSize,
19 CCopyCoder(): TotalSize(0) , _buffer(0) {};
22 MY_UNKNOWN_IMP1(ICompressGetInStreamProcessedSize)
24 STDMETHOD(Code)(ISequentialInStream *inStream,
25 ISequentialOutStream *outStream,
26 const UInt64 *inSize, const UInt64 *outSize,
27 ICompressProgressInfo *progress);
28 STDMETHOD(GetInStreamProcessedSize)(UInt64 *value);