[#BloombergLP-bdlbb-BlobBuffer-reset-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]::reset
:relfileprefix: ../../../
:mrdocs:

`reset` overloads

== Synopses

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

Reset this blob buffer to its default&hyphen;constructed state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlbb/BlobBuffer/reset-05.adoc[reset]();
----

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

Set the buffer represented by this object to the specified moveable `buffer` of the specified `size`&period; The behavior is undefined unless `0 &lt;&equals; size` and the `buffer` refers to a continuous block of memory of at least `size` bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlbb/BlobBuffer/reset-064.adoc[reset](
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;bsl::shared&lowbar;ptr&lt;char&gt;&gt;] buffer,
    int size);
----

[.small]#xref:BloombergLP/bdlbb/BlobBuffer/reset-064.adoc[_» more&period;&period;&period;_]#

Set the buffer represented by this object to the specified `buffer` of the specified `size`&period; The behavior is undefined unless `0 &lt;&equals; size` and the `buffer` refers to a continuous block of memory of at least `size` bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlbb/BlobBuffer/reset-061.adoc[reset](
    xref:bsl/shared_ptr-0a.adoc[bsl::shared&lowbar;ptr&lt;char&gt;] const& buffer,
    int size);
----

[.small]#xref:BloombergLP/bdlbb/BlobBuffer/reset-061.adoc[_» more&period;&period;&period;_]#


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