[#BloombergLP-bdlb-BitMaskUtil-zero]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitMaskUtil.adoc[BitMaskUtil]::zero
:relfileprefix: ../../../
:mrdocs:

Return the unsigned integral value having the specified `numBits` starting at the specified `index` set to 0, and all other bits set to 1&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
uint32&lowbar;t
zero(
    int index,
    int numBits);
----

== Return Value

mask with `numBits` bits cleared starting at `index`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| starting bit position of the range to clear
| *numBits*
| number of consecutive bits to clear
|===


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