Construct a writer over the given destination stream with an internal buffer of size bytes.

Synopsis

Declared in <streams.h>

explicit
BufferedWriter(
    S& stream,
    size_t size = 1 << 16);

Parameters

Name

Description

stream

Underlying stream to write buffered bytes to.

size

Size in bytes of the internal write buffer.

Created with MrDocs