You've already forked crosspoint-reader
mirror of
https://github.com/crosspoint-reader/crosspoint-reader.git
synced 2026-02-13 15:13:44 -08:00
13 lines
379 B
C++
13 lines
379 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
class ZipFile {
|
|
std::string filePath;
|
|
|
|
public:
|
|
explicit ZipFile(std::string filePath) : filePath(std::move(filePath)) {}
|
|
~ZipFile() = default;
|
|
char* readTextFileToMemory(const char* filename, size_t* size = nullptr) const;
|
|
uint8_t* readFileToMemory(const char* filename, size_t* size = nullptr, bool trailingNullByte = false) const;
|
|
};
|