[#BloombergLP-bdlc-BitArray-bits] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::bits :relfileprefix: ../../../ :mrdocs: Return the specified `numBits` beginning at the specified `index` in this array as the low‐order bits of the returned value. The behavior is undefined unless `numBits <= sizeof(uint64_t) * CHAR_BIT` and `index + numBits <= length()`. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint64_t bits( std::size_t index, std::size_t numBits) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#