Assign the low‐order specified numBits from the specified srcValue to the numBits starting at the specified index in the specified bitString. The behavior is undefined unless numBits <= k_BITS_PER_UINT64 and bitString has a capacity of at least index + numBits.

Synopsis

Declared in <bdlb_bitstringutil.h>

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

Created with MrDocs