AUI Framework
develop
Cross-platform base for C++ UI apps
|
Opens a file for a binary write. More...
#include <AUI/IO/AFileOutputStream.h>
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. | |
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) |
Opens a file for a binary write.
|
overridevirtual |
Writes exact size
bytes to stream. Blocking (waiting for write all data) is allowed.
src | source buffer |
size | source buffer's size. > 0 |
Implements IOutputStream.