[#bsl-basic_ostringstream-write]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::write
:relfileprefix: ../../
:mrdocs:

Write a block of characters to the stream&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;ostringstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
write(
    xref:bsl/basic_ostringstream/char_type.adoc[char&lowbar;type] const* buffer,
    std::streamsize count);
----

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| characters to write
| *count*
| number of characters to write
|===


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