From ee18ec019ef6f0ef9d7cd3b4cf0314291814cab0 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 28 Mar 2020 22:27:01 +0100 Subject: Add ELF handling (WIP) --- 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..bc49305 --- /dev/null +++ b/file.h @@ -0,0 +1,15 @@ +#pragma once + +#include +#include +#include +#include + +namespace File { + +std::vector 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