bzip2decoder.h

来自「7-Zip 3.11的源码」· C头文件 代码 · 共 42 行

H
42
字号
// Compress/BZip2/Decoder.h

#pragma once

#ifndef __COMPRESS_BZIP2_DECODER_H
#define __COMPRESS_BZIP2_DECODER_H

#include "../../ICoder.h"
// #include "../../Interface/CompressInterface.h"
#include "Common/MyCom.h"

namespace NCompress {
namespace NBZip2 {

class CDecoder :
  public ICompressCoder,
  public CMyUnknownImp
{
  BYTE *m_InBuffer;
  BYTE *m_OutBuffer;
public:
  CDecoder();
  ~CDecoder();

  MY_UNKNOWN_IMP

  HRESULT Flush();
  // void (ReleaseStreams)();

  STDMETHOD(CodeReal)(ISequentialInStream *inStream,
      ISequentialOutStream *outStream, const UINT64 *inSize, const UINT64 *outSize,
      ICompressProgressInfo *progress);

  STDMETHOD(Code)(ISequentialInStream *inStream,
      ISequentialOutStream *outStream, const UINT64 *inSize, const UINT64 *outSize,
      ICompressProgressInfo *progress);
};

}}

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?