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

Erase the specified `length` bytes starting at the specified `offset` from the specified `blob`&period; The behavior is undefined unless `offset &gt;&equals; 0`, `length &gt;&equals; 0`, and `offset &plus; length &lt;&equals; blob&hyphen;&gt;length()`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
erase(
    xref:BloombergLP/bdlbb/Blob.adoc[Blob]* blob,
    int offset,
    int length);
----


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