AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Opens a file for a binary write. More...
Opens a file for a binary write.
Classes | |
class | WriteException |
Public Member Functions | |
AFileOutputStream (AString path, bool append=false) | |
void | write (const char *src, size_t size) override |
Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed. More... | |
void | close () |
void | open (bool append=false) |
AFileOutputStream (AFileOutputStream &&rhs) noexcept | |
AFileOutputStream & | operator= (AFileOutputStream &&rhs) noexcept |
FILE * | nativeHandle () const |
const AString & | path () const |
Public Member Functions inherited from IOutputStream | |
template<typename T > | |
void | write (const T &t) |
template<typename T > | |
IOutputStream & | operator<< (const T &t) |
|
overridevirtual |
Writes exact size
bytes to stream. Blocking (waiting for write all data) is allowed.
dst | source buffer |
size | source buffer's size. > 0 |
Implements IOutputStream.
#include <AUI/IO/AFileOutputStream.h>