#include <WriteBuffer.hpp>
Public Methods | |
| WriteBuffer (File &file, int bufferSize) | |
| ~WriteBuffer () | |
| void | write (const char *data, int length) |
| void | flush () |
| File::offset_type | tellp () const |
|
||||||||||||
|
|
|
|
|
|
|
flushes the internal buffer out to the ofstream. does not explicitly flush the ofstream. |
|
|
returns the current write pointer position |
|
||||||||||||
|
standard write semantics; will perform an unbuffered write if <length> is long enough to warrant it |
1.2.18