diff options
author | rtk0c <[email protected]> | 2021-09-06 00:15:35 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-09-06 00:15:35 -0700 |
commit | 04653742243e4bb6452108cfd0fef2f4afd8f23b (patch) | |
tree | a4a5e0cc8d16ffe78859fab9ee5e487a7d22d81e /core/src/Utils/IO/Archive.hpp | |
parent | 70e00f817e9596a746800ba4afec2b7c4ca25142 (diff) |
Fix all compile errors, remove OperateIOProxy requirement from DataStream api
Diffstat (limited to 'core/src/Utils/IO/Archive.hpp')
-rw-r--r-- | core/src/Utils/IO/Archive.hpp | 4 |
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); |