[#BloombergLP-bdlb-BitStringUtil-removeAndFill1]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::removeAndFill1
:relfileprefix: ../../../
:mrdocs:

Remove the specified `numBits` from the specified `bitString` having the specified `length` beginning at the specified `index`&period; Bits above `index &plus; numBits` are shifted down by `numBits` index positions and the last `numBits` of `bitString` are set to 1&period; The length of `bitString` is not changed&period; The behavior is undefined unless `index &plus; numBits &lt;&equals; length`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bitstringutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
removeAndFill1(
    uint64&lowbar;t* bitString,
    std::size&lowbar;t length,
    std::size&lowbar;t index,
    std::size&lowbar;t numBits);
----


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