BSPParser
Simple and modern library for parsing the Valve BSP format
Loading...
Searching...
No Matches
src
helpers
zip.hpp
1
#pragma once
2
3
#include "../structs/zip.hpp"
4
#include <span>
5
#include <string_view>
6
#include <vector>
7
8
namespace
BspParser::Zip
{
9
struct
ZipFileEntry
{
10
Structs::Zip::FileHeader
header;
11
std::string_view fileName;
12
std::span<const std::byte> data;
13
};
14
15
std::vector<ZipFileEntry> readZipFileEntries(std::span<const std::byte> zipData);
16
}
BspParser::Zip
Definition:
BSPParser.hpp:27
BspParser::Structs::Zip::FileHeader
Definition:
zip.hpp:25
BspParser::Zip::ZipFileEntry
Definition:
zip.hpp:9
Generated by
1.9.5