XS Framework
A 3DS homebrew development framework.
 
Loading...
Searching...
No Matches
fs.hpp File Reference
#include <3ds.h>
#include <string>
Include dependency graph for fs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  xs
 
namespace  xs::fs
 Filesystem-related utilities.
 

Functions

void xs::fs::AppendFile (const std::string &path, const std::string &data)
 Appends data to a file (creates the file if it doesn't exist).
 
std::string xs::fs::ReadFile (const std::string &path)
 Reads the entire contents of a file into a string.
 
void xs::fs::WriteFile (const std::string &path, const std::string &data)
 Writes data to a file, overwriting any existing contents.