blob: 179db257a9f860461e6c10d97e40f77950498626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <Cplt/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);
};
|