Downloads
Epsilon Virtual File System
Lightweight library made for easy access to .zip files within C++.
Both Stored and compressed data is supported.
It uses Zlib Inflation/Deflation algorithms.
Usage Example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <filesystem.h>
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
Filesystem::Mount("container.zip");
std::shared_ptr<File> myFile = Filesystem::Open("file.txt");
char fileContent[myFile->SizeUncomp];
myFile->seekg(0);
myFile->read((char*) fileContent, myFile->SizeUncomp);
cout << string(fileContent, myFile->SizeUncomp) << endl;
Filesystem::Close(myFile);
Filesystem::Unmount("container.zip");
return 0;
}
Available under the MIT License.
Chip-8 Emulator
![]() |