Set a range of bits in bitString to false.

Synopsis

Declared in <bdlb_bitstringutil.h>

static
void
assign0(
    uint64_t* bitString,
    std::size_t index,
    std::size_t numBits);

Description

Set the specified numBits beginning at the specified index in the specified bitString to false. The behavior is undefined unless bitString has a capacity of at least index + numBits.

Parameters

Name

Description

bitString

bit string to modify

index

starting bit position

numBits

number of bits to set

Created with MrDocs