[#BufferedWriter-2constructor]
= xref:BufferedWriter.adoc[BufferedWriter]::BufferedWriter
:relfileprefix: ../
:mrdocs:

Construct a writer over the given destination stream with an internal buffer of `size` bytes&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
BufferedWriter(
    S& stream,
    size&lowbar;t size = 1 &lt;&lt; 16);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| Underlying stream to write buffered bytes to&period;
| *size*
| Size in bytes of the internal write buffer&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
