[#BloombergLP-bdlbb-Blob-swapBufferRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::swapBufferRaw :relfileprefix: ../../../ :mrdocs: Swap the blob buffer at the specified `index` with `srcBuffer`. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swapBufferRaw( int index, xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]* srcBuffer); ---- == Description The behavior is undefined unless `0 <= index < numBuffers()` and `srcBuffer‐>size() == buffer(index).size()`. Note that other than the buffer swap the state of this object remains unchanged. == Parameters [cols="1,4"] |=== | Name| Description | *index* | position of the buffer to swap | *srcBuffer* | address of the blob buffer to exchange with |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#