mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Show comptime emits as embedded sourceviews
This commit is contained in:
parent
ee27f6fd02
commit
4d1e14a1c3
65 changed files with 3360 additions and 633 deletions
30
BeefySysLib/util/ZipFile.h
Normal file
30
BeefySysLib/util/ZipFile.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include "../Common.h"
|
||||
#include "../Span.h"
|
||||
|
||||
NS_BF_BEGIN
|
||||
|
||||
|
||||
class ZipFile
|
||||
{
|
||||
public:
|
||||
class Data;
|
||||
|
||||
public:
|
||||
Data* mData;
|
||||
|
||||
public:
|
||||
ZipFile();
|
||||
~ZipFile();
|
||||
|
||||
bool Open(const StringImpl& filePath);
|
||||
bool Create(const StringImpl& filePath);
|
||||
bool Close();
|
||||
bool IsOpen();
|
||||
bool Add(const StringImpl& fileName, Span<uint8> data);
|
||||
bool Get(const StringImpl& fileName, Array<uint8>& data);
|
||||
};
|
||||
|
||||
|
||||
NS_BF_END
|
Loading…
Add table
Add a link
Reference in a new issue