Rotate the bits in this array left by numBits positions.
Declared in <bdlc_bitarray.h>
void
rotateLeft(std::size_t numBits);
Shift the values in this array to the left by the specified numBits positions, with the high-order values "rotating" into the low-order bits. The behavior is undefined unless numBits <= length(). Note that the length of this array remains unchanged.
| Name | Description |
|---|---|
| numBits | number of positions to rotate left |