Wrapper that buffers writes to an underlying stream. Requires underlying stream to support write_buffer() method for efficient buffer flushing and obfuscation.
Synopsis
Declared in <streams.h>
template<typename S>
class BufferedWriter;
Member Functions
Name |
Description |
|
Construct a writer over the given destination stream with an internal buffer of |
|
Flush any buffered bytes, then destroy the writer. |
Write any buffered bytes to the destination stream and reset the buffer. |
|
Buffer bytes from |
|
Serialize an object through the buffered writer and return this writer. |
Created with MrDocs