⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lzmaitem.h

📁 7-Zip 是一款号称有着现今最高压缩比的压缩软件
💻 H
字号:
// Archive/LzmaItem.h

#ifndef __ARCHIVE_LZMA_ITEM_H
#define __ARCHIVE_LZMA_ITEM_H

#include "Common/Types.h"

#include "../../../../C/CpuArch.h"

namespace NArchive {
namespace NLzma {

struct CHeader
{
  UInt64 UnpackSize;
  bool IsThereFilter;
  Byte FilterMethod;
  Byte LzmaProps[5];

  UInt32 GetDicSize() const { return GetUi32(LzmaProps + 1); }
  bool HasUnpackSize() const { return (UnpackSize != (UInt64)(Int64)-1);  }
  unsigned GetHeaderSize() const { return 5 + 8 + (IsThereFilter ? 1 : 0); }
};

}}

#endif

⌨️ 快捷键说明

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