Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
file.hpp File Reference
#include <fstream>
#include <filesystem>
#include <optional>
#include <spdlog/spdlog.h>

Go to the source code of this file.

Namespaces

namespace  dcn
 
namespace  dcn::file
 

Functions

std::optional< std::string > dcn::file::loadTextFile (std::filesystem::path path)
 
std::optional< std::vector< std::byte > > dcn::file::loadBinaryFile (std::filesystem::path path)