Append a bit range from srcArray to this array.
Declared in <bdlc_bitarray.h>
void
append(
BitArray const& srcArray,
std::size_t srcIndex,
std::size_t numBits);
Append to this array the specified numBits from the specified srcArray, beginning at the specified srcIndex. The behavior is undefined unless srcIndex + numBits <= srcArray.length(). Note that this method has the same behavior as: ` insert(length(), srcArray, srcIndex, numBits); `
| Name | Description |
|---|---|
| srcArray | array providing the bits to append |
| srcIndex | starting index in srcArray |
| numBits | number of bits to append |