C++ Utilities  5.10.5
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Namespaces | Functions
misc.cpp File Reference
#include "./misc.h"
#include "./nativefilestream.h"
#include <streambuf>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Namespaces

 CppUtilities
 Contains all utilities provides by the c++utilities library.
 

Functions

CPP_UTILITIES_EXPORT std::string CppUtilities::readFile (const std::string &path, std::string::size_type maxSize)
 Reads all contents of the specified file in a single call. More...
 
CPP_UTILITIES_EXPORT void CppUtilities::writeFile (std::string_view path, std::string_view contents)
 Writes all contents to the specified file in a single call. More...