PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
include
pixelbullet
filesystem
file.h
1
#pragma once
2
3
#include <cstdint>
4
#include <filesystem>
5
#include <optional>
6
#include <string>
7
#include <vector>
8
9
namespace
pixelbullet
10
{
11
class
File
12
{
13
public
:
14
static
std::optional<std::string> read(
const
std::filesystem::path& path);
15
16
static
std::optional<std::vector<std::uint8_t>> read_bytes(
const
std::filesystem::path& path);
17
};
18
}
// namespace pixelbullet
pixelbullet::File
Definition
file.h:12
Generated by
1.16.1