[#BloombergLP-bdlbb-Blob-prependDataBuffer-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::prependDataBuffer :relfileprefix: ../../../ :mrdocs: `prependDataBuffer` overloads == Synopses Declared in `<bdlbb_blob.h>` Insert the specified move‐insertable `buffer` before the beginning of this blob. The length of this blob is incremented by the length of the prepended buffer. The `buffer` is left in a valid but unspecified state. The behavior is undefined unless neither the total size of the resulting blob nor its total number of buffers exceeds `INT_MAX`. Note that this operation is equivalent to: ` const int n = blob.length(); blob.insertBuffer(0, MoveUtil::move(buffer)); blob.setLength(n + buffer.size()); ` but is more efficient. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlbb/Blob/prependDataBuffer-0c.adoc[prependDataBuffer](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<BlobBuffer>] buffer); ---- [.small]#xref:BloombergLP/bdlbb/Blob/prependDataBuffer-0c.adoc[_» more..._]# Insert the specified `buffer` before the beginning of this blob. The length of this blob is incremented by the length of the prepended buffer. The behavior is undefined unless neither the total size of the resulting blob nor its total number of buffers exceeds `INT_MAX`. Note that this operation is equivalent to: ` const int n = blob.length(); blob.insertBuffer(0, buffer); blob.setLength(n + buffer.size()); ` but is more efficient. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlbb/Blob/prependDataBuffer-0b.adoc[prependDataBuffer](xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer] const& buffer); ---- [.small]#xref:BloombergLP/bdlbb/Blob/prependDataBuffer-0b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#