[#BloombergLP-bdlbb-BlobUtil-prependDataBufferIfValid-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtil.adoc[BlobUtil]::prependDataBufferIfValid :relfileprefix: ../../../ :mrdocs: `prependDataBufferIfValid` overloads == Synopses Declared in `<bdlbb_blobutil.h>` Insert the specified move‐insertable `buffer` before the beginning of the specified `dest` if neither the resulting total size of `dest` nor its resulting total number of buffers exceeds `INT_MAX`. Return 0 on success, and a non‐zero value (with no effect) otherwise. The length of the `dest` is incremented by the length of the prepended buffer. In case of success the `buffer` is left in a valid but unspecified state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlbb/BlobUtil/prependDataBufferIfValid-03.adoc[prependDataBufferIfValid]( xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<BlobBuffer>] buffer); ---- [.small]#xref:BloombergLP/bdlbb/BlobUtil/prependDataBufferIfValid-03.adoc[_» more..._]# Insert the specified `buffer` before the beginning of the specified `dest` if neither the resulting total size of `dest` nor its resulting total number of buffers exceeds `INT_MAX`. Return 0 on success, and a non‐zero value (with no effect) otherwise. The length of the `dest` is incremented by the length of the prepended buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdlbb/BlobUtil/prependDataBufferIfValid-08.adoc[prependDataBufferIfValid]( xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest, xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer] const& buffer); ---- [.small]#xref:BloombergLP/bdlbb/BlobUtil/prependDataBufferIfValid-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#