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

Replace this blob&apos;s buffers by moving all buffers from `srcBlob`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
moveBuffers(xref:BloombergLP/bdlbb/Blob.adoc[Blob]* srcBlob);
----

== Description

Remove all blob buffers from this blob and move the buffers held by the specified `srcBlob` to this blob&period; Note that this method is logically equivalent to&colon; &grave; &ast;this &equals; &ast;srcBlob&semi; srcBlob&hyphen;&gt;removeAll()&semi; &grave; but its implementation is more efficient&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srcBlob*
| blob whose buffers are moved into this blob
|===


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