assign overloads
Declared in <bdlb_bitstringutil.h>
Set one bit in bitString to value.
static
void
assign(
uint64_t* bitString,
std::size_t index,
bool value);
» more...
Set a range of bits in bitString to value.
static
void
assign(
uint64_t* bitString,
std::size_t index,
bool value,
std::size_t numBits);
» more...
| Name | Description |
|---|---|
| bitString | bit string to modify |
| index | bit position to set |
| value | value to assign to the bit |
| numBits | number of bits to set |