coastline
0.0.4
Loading...
Searching...
No Matches
src
sdl
readfile.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
cstdint
>
4
#include <
filesystem
>
5
#include <
optional
>
6
#include <
vector
>
7
8
namespace
coastline
{
9
16
std::optional<std::vector<std::uint8_t>
>
ReadWholeFile
(
const
std::filesystem::path
&path);
17
18
}
// namespace coastline
cstdint
filesystem
coastline
Definition
assetimport.h:11
coastline::ReadWholeFile
std::optional< std::vector< std::uint8_t > > ReadWholeFile(const std::filesystem::path &path)
Reads a whole file with one read of its size.
optional
std::filesystem::path
vector
Generated by
1.15.0