AsyncFw 1.2
Async Framework is c++ runtime with timers, poll notifiers, sockets, coroutines, etc.
 
Loading...
Searching...
No Matches
AsyncFw::File Class Reference

The File class. More...

#include <AsyncFw/File>

Public Member Functions

 File (const std::string &={})
 
bool open (const std::string &, std::ios::openmode=std::ios::binary|std::ios::in)
 
bool open (std::ios::openmode=std::ios::binary|std::ios::in)
 
void close ()
 
void flush ()
 
void remove ()
 
std::size_t size ()
 
bool exists ()
 
DataArray read (std::size_t=SIZE_MAX)
 
std::streamsize write (const DataArray &)
 
std::streamsize read (char *, std::streamsize)
 
std::streamsize write (const char *, std::streamsize)
 
std::string readLine ()
 
bool fail ()
 
std::fstream & fstream ()
 

Detailed Description

The File class.


The documentation for this class was generated from the following files: