dl
dl::Tool::Archiver类 参考

文件夹打包解包器 更多...

#include <dl_tool_archiver.h>

struct  FileInfo
 
struct  Head
 
struct  Param
 

Public 类型

using FileList = std::unordered_map<std::string, FileInfo>
 

静态 Public 成员函数

static void Compress (const Param &p)
 
static bool Decompress (BufferView buf, std::string_view out)
 
static bool Decompress (std::string_view src, std::string_view out)
 
static bool GetFileList (BufferView buf, FileList &all_file)
 

详细描述

文件夹打包解包器

在文件 dl_tool_archiver.h28 行定义.

成员类型定义说明

◆ FileList

using dl::Tool::Archiver::FileList = std::unordered_map<std::string, FileInfo>

在文件 dl_tool_archiver.h46 行定义.

成员函数说明

◆ Compress()

static void dl::Tool::Archiver::Compress ( const Param & p)
inlinestatic

在文件 dl_tool_archiver.h56 行定义.

◆ Decompress() [1/2]

static bool dl::Tool::Archiver::Decompress ( BufferView buf,
std::string_view out )
inlinestatic

在文件 dl_tool_archiver.h106 行定义.

◆ Decompress() [2/2]

static bool dl::Tool::Archiver::Decompress ( std::string_view src,
std::string_view out )
inlinestatic

在文件 dl_tool_archiver.h202 行定义.

◆ GetFileList()

static bool dl::Tool::Archiver::GetFileList ( BufferView buf,
FileList & all_file )
inlinestatic

在文件 dl_tool_archiver.h212 行定义.


该类的文档由以下文件生成: