Just™ Game Engine
file.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Konstanty Misiak
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#pragma once
8
9namespace jng {
10
11 bool readFile(const char* filename, char* data, size_t& size, bool binary = false);
12 bool writeFile(const char* filename, const char* data, size_t size, bool binary = false);
13
14} // namespace jng
Definition: base.hpp:11
bool writeFile(const char *filename, const char *data, size_t size, bool binary)
Definition: file.cpp:31
bool readFile(const char *filename, char *data, size_t &size, bool binary)
Definition: file.cpp:11