blob: 01282ad50fb96406b1e2e92d0a20594b9d601ed3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
namespace io
{
bool read_file(std::string_view path, std::vector<std::byte>& buffer);
bool read_file(std::string_view path, std::string& buffer);
bool write_file(std::string_view path, const std::vector<std::byte>& buffer);
bool write_file(std::string_view path, const std::string& buffer);
} // namespace io
namespace io
{
std::string_view physfs_error(void);
} // namespace io
|