[#BloombergLP-bdlbb-BlobUtil-append-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtil.adoc[BlobUtil]::append
:relfileprefix: ../../../
:mrdocs:

`append` overloads

== Synopses

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

Append the specified `source` to the specified `dest`&period; Note that the data memory from `source` is not copied, but rather new `BlobBuffer`s referring to the same data memory are created and appended to `dest`, hence `dest` is not required to have a `BlobBufferFactory`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-03.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-03.adoc[_» more&period;&period;&period;_]#

Append the specified `length` bytes to the specified `dest`, all new bytes are to be set to the specified `fill`&period; The behavior is undefined unless `length &lt;&equals; dest&hyphen;&gt;totalSize() &hyphen; dest&hyphen;&gt;length()` or `0 !&equals; dest&hyphen;&gt;factory()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-0e.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    int length,
    char fill);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-0e.adoc[_» more&period;&period;&period;_]#

Append from the specified `offset` in the specified `source` to the specified `dest`&period; Note that the data memory from `source` is not copied, but rather new `BlobBuffer`s referring to the same data memory are created and appended to `dest`, hence `dest` is not required to have a `BlobBufferFactory`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-086.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source,
    int offset);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-086.adoc[_» more&period;&period;&period;_]#

See the corresponding non&hyphen;deprecated `append` overload above&period; The allocator argument is unused&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-05.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-05.adoc[_» more&period;&period;&period;_]#

Append the specified `length` bytes starting from the specified `source` address to the specified `dest`&period; The behavior is undefined unless the range `&lsqb;source, source &plus; length)&rsqb;` is valid memory, and `length &lt;&equals; dest&hyphen;&gt;totalSize() &hyphen; dest&hyphen;&gt;length()` or `0 !&equals; dest&hyphen;&gt;factory()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-01.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    char const* source,
    int length);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-01.adoc[_» more&period;&period;&period;_]#

Append the specified `length` bytes from the specified `offset` in the specified `source` to the specified `dest`&period; Note that the data memory from `source` is not copied, but rather new `BlobBuffer`s referring to the same data memory are created and appended to `dest`, hence `dest` is not required to have a `BlobBufferFactory`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-04.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source,
    int offset,
    int length);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-04.adoc[_» more&period;&period;&period;_]#

See the corresponding non&hyphen;deprecated `append` overload above&period; The allocator argument is unused&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-08b.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source,
    int offset,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-08b.adoc[_» more&period;&period;&period;_]#

Append the specified `length` bytes starting from the specified `offset` from the specified `source` address to the specified `dest`&period; The behavior of this function is undefined unless the range `&lsqb;source &plus; offset, source &plus; offset &plus; length)&rsqb;` represents a readable sequence of memory, and `length &lt;&equals; dest&hyphen;&gt;totalSize() &hyphen; dest&hyphen;&gt;length()` or `0 !&equals; dest&hyphen;&gt;factory()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-06.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    char const* source,
    int offset,
    int length);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-06.adoc[_» more&period;&period;&period;_]#

See the corresponding non&hyphen;deprecated `append` overload above&period; The allocator argument is unused&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlbb/BlobUtil/append-0c.adoc[append](
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest,
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& source,
    int offset,
    int length,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*);
----

[.small]#xref:BloombergLP/bdlbb/BlobUtil/append-0c.adoc[_» more&period;&period;&period;_]#


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