Append a bit range from srcArray to this array.

Synopsis

Declared in <bdlc_bitarray.h>

void
append(
    BitArray const& srcArray,
    std::size_t srcIndex,
    std::size_t numBits);

Description

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); `

Parameters

Name

Description

srcArray

array providing the bits to append

srcIndex

starting index in srcArray

numBits

number of bits to append

Created with MrDocs