[#BloombergLP-bdlbb-OutBlobStreamBuf]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::OutBlobStreamBuf
:relfileprefix: ../../
:mrdocs:

This class implements the output functionality of the `basic&lowbar;streambuf` protocol, using a client&hyphen;supplied `bdlbb&colon;&colon;Blob`&period;

== Synopsis

Declared in `&lt;bdlbb&lowbar;blobstreambuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class OutBlobStreamBuf
    : public std::streambuf
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::streambuf`
| 
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/2constructor.adoc[`OutBlobStreamBuf`]         [.small]#[constructor]#
| Create an `OutBlobStreamBuf` using the specified blob&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/2destructor.adoc[`&#126;OutBlobStreamBuf`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this stream buffer&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/currentBufferIndex.adoc[`currentBufferIndex`] 
| Return the index of the current buffer&period; The behavior is undefined unless the &quot;streamed&quot; blob has at least one buffer&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/data-09.adoc[`data`] 
| Return the address of the blob held by this stream buffer&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/data-03.adoc[`data`] 
| Return the address of the blob held by this stream buffer&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/previousBuffersLength.adoc[`previousBuffersLength`] 
| Return the length of buffers preceding the current one&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/reset.adoc[`reset`] 
| Reset the put position of this stream buffer&period;
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/overflow.adoc[`overflow`]  [.small]#[virtual]#
| Append the optionally specified character `c` to this streambuf, and return `c`&period; By default, `traits&lowbar;type&colon;&colon;eof()` is appended&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/pbackfail.adoc[`pbackfail`]  [.small]#[virtual]#
| Return `traits&lowbar;type&colon;&colon;eof()` unconditionally&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/seekoff.adoc[`seekoff`]  [.small]#[virtual]#
| Set the I&sol;O position relative to a fixed position&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/seekpos.adoc[`seekpos`]  [.small]#[virtual]#
| Set the I&sol;O position for the specified open mode&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/showmanyc.adoc[`showmanyc`]  [.small]#[virtual]#
| Return 0 unconditionally&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/sync.adoc[`sync`]  [.small]#[virtual]#
| Synchronize the put position in the blob of this stream buffer&period; Return 0 unconditionally&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/underflow.adoc[`underflow`]  [.small]#[virtual]#
| Return `traits&lowbar;type&colon;&colon;eof()` unconditionally&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/xsgetn.adoc[`xsgetn`]  [.small]#[virtual]#
| Return 0 unconditionally&period;
| xref:BloombergLP/bdlbb/OutBlobStreamBuf/xsputn.adoc[`xsputn`]  [.small]#[virtual]#
| Copy characters from a buffer into this streambuf&period;
|===



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