From 938fbe7a2f2f10a3abb530a9463e57fc20f40038 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Apr 2020 16:32:10 +0200 Subject: HTTP and HTTPs --- file.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 file.h (limited to 'file.h') diff --git a/file.h b/file.h new file mode 100644 index 0000000..e7e4cf6 --- /dev/null +++ b/file.h @@ -0,0 +1,15 @@ +#pragma once + +#include +#include +#include +#include + +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& data); + +} -- cgit v1.2.3