aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/Archive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Utils/IO/Archive.hpp')
-rw-r--r--core/src/Utils/IO/Archive.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/Utils/IO/Archive.hpp b/core/src/Utils/IO/Archive.hpp
index 28e7c99..1bb8b59 100644
--- a/core/src/Utils/IO/Archive.hpp
+++ b/core/src/Utils/IO/Archive.hpp
@@ -2,12 +2,16 @@
#include "Utils/IO/DataStream.hpp"
+#include <cstdint>
#include <filesystem>
#include <optional>
+#include <span>
class DataArchive
{
public:
+ static std::span<const uint8_t, 8> GetMagicNumbers();
+
// TODO more complete impl
static std::optional<InputDataStream> LoadFile(const std::filesystem::path& path);
static std::optional<OutputDataStream> SaveFile(const std::filesystem::path& path);