aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/IO/Archive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Utils/IO/Archive.cpp')
-rw-r--r--core/src/Utils/IO/Archive.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/Utils/IO/Archive.cpp b/core/src/Utils/IO/Archive.cpp
index 6c4084f..aa47b67 100644
--- a/core/src/Utils/IO/Archive.cpp
+++ b/core/src/Utils/IO/Archive.cpp
@@ -10,6 +10,11 @@ constexpr uint8_t kByteOrderMark = []() {
}
}();
+std::span<const uint8_t, 8> DataArchive::GetMagicNumbers()
+{
+ return std::span<const uint8_t, 8>{ kMagicNumbers };
+}
+
std::optional<InputDataStream> DataArchive::LoadFile(const std::filesystem::path& path)
{
auto stream = InputDataStream(InputFileStream(path));