Files
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00

20 lines
371 B
C++

#pragma once
#include "pch.h"
#include "miniz.h"
#include "ArchiveReader.h"
class ZipReader : public ArchiveReader
{
private:
mz_zip_archive _zipArchive;
protected:
bool InternalLoadArchive(void* buffer, size_t size);
vector<string> InternalGetFileList();
public:
ZipReader();
virtual ~ZipReader();
bool ExtractFile(string filename, vector<uint8_t>& output);
};