BloombergLP::bdlb::BitStringUtil::remove

Remove the specified numBits from the specified bitString of the specified length beginning at the specified index. Bits above index + numBits are shifted down by numBits index positions and the length of bitString is reduced by numBits. The values of the vacated high-order bits are not modified. The behavior is undefined unless index + numBits <= length.

Synopsis

Declared in <bdlb_bitstringutil.h>

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