#include <mxcpcBinaryFileWriter.h>
Inheritance diagram for mxcpcBinaryFileWriter:
Public Member Functions | |
mxcpcBinaryFileWriter (const char *filename) | |
mxcpcBinaryFileWriter (int file_descriptor) | |
~mxcpcBinaryFileWriter () | |
void | receiveStreamBytes (const mxcpc::u8 *bytes, int byte_num) |
(Re)implemented. | |
Protected Attributes | |
bool | ErrorEncountered |
Private Attributes | |
int | OutFile |
bool | CloseFileUponDeletion |
int | RestoreMode |
If invoked by specifying a filename to the constructor, the respective file is automatically opened for writing. It is also automatically closed again when the binary file writer is deleted later.
If, on the other hand, the writer is invoked by specifying a POSIX
file descriptor to the constructor, the file descriptor is used instead. Note that in this case the corresponing file is not closed upon writer destruction.
Definition at line 44 of file mxcpcBinaryFileWriter.h.