diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-04 16:32:10 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-04 16:32:10 +0200 |
commit | 938fbe7a2f2f10a3abb530a9463e57fc20f40038 (patch) | |
tree | 62ee0c285c672b10a42b0690a011ede7a0bf00b6 /file.h | |
parent | 95d5acc8c7e60255b19e7084e374eb26cc5d0ba3 (diff) |
HTTP and HTTPs
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#pragma once + +#include <cstdint> +#include <filesystem> +#include <string> +#include <vector> + +namespace File { + +std::string getFile(const std::filesystem::path& filename); +void setFile(const std::filesystem::path& filename, const std::string& s); +void setFile(const std::filesystem::path& filename, const char* data, size_t size); +void setFile(const std::filesystem::path& filename, const std::vector<uint8_t>& data); + +} |