[#BloombergLP-bdlbb-BlobBuffer-reset-061] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]::reset :relfileprefix: ../../../ :mrdocs: Set this object to represent the specified buffer of the specified size. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reset( xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<char>] const& buffer, int size); ---- == Description The behavior is undefined unless `0 <= size` and the `buffer` refers to a continuous block of memory of at least `size` bytes. == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | shared pointer to the continuous memory block | *size* | number of bytes represented by this blob buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#