#include <WriteBuffer.hpp>
Public Member Functions | |
WriteBuffer (File &file, size_t bufferSize, bool exclusiveAccess=true) | |
~WriteBuffer () | |
char * | write (size_t length) |
void | unwrite (size_t length) |
void | write (const char *data, size_t length) |
void | flush () |
File::offset_type | tellp () |
Private Attributes | |
char * | _buffer |
size_t | _bufferSize |
File & | _file |
size_t | _position |
File::offset_type | _filePos |
bool | _exclusiveAccess |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|