#pragma once #include #include #define CHUNK 16384u namespace utilities::compression { namespace zlib { std::string compress(const std::string& data); std::string decompress(const std::string& data); } namespace zip { class archive { public: void add(std::string filename, std::string data); bool write(const std::string& filename, const std::string& comment = {}); private: std::unordered_map files_; }; std::unordered_map extract(const std::string& data); } };