[#BloombergLP-bdlc-BitArray-append-064] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::append :relfileprefix: ../../../ :mrdocs: Append a bit range from `srcArray` to this array. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void append( xref:BloombergLP/bdlc/BitArray.adoc[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 [cols="1,4"] |=== | Name| Description | *srcArray* | array providing the bits to append | *srcIndex* | starting index in `srcArray` | *numBits* | number of bits to append |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#