lzmaitem.h
来自「压缩解压工具7-zip源代码」· C头文件 代码 · 共 28 行
H
28 行
// 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 + =
减小字号Ctrl + -
显示快捷键?