Furrent
Namespaces | Functions
io.cpp File Reference
#include <fstream>
#include <limits>
#include <platform/io.hpp>
#include <sstream>
#include <stdexcept>
Include dependency graph for io.cpp:

Namespaces

 fur
 Common types used in all the project.
 
 fur::platform
 
 fur::platform::io
 

Functions

IOResult< Empty > fur::platform::io::touch (const std::string &filename, int64_t size)
 
IOResult< bool > fur::platform::io::exists (const std::string &filename)
 
IOResult< Empty > fur::platform::io::remove (const std::string &filename)
 
IOResult< Empty > fur::platform::io::write_bytes (const std::string &filename, const std::vector< uint8_t > &bytes, int64_t offset)
 
IOResult< std::string > fur::platform::io::create_directories (const std::string &path, bool skip_last)
 
IOResult< std::string > fur::platform::io::load_file_text (const std::string &filepath)