[#BloombergLP-bdlb-BitStringUtil-insertRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::insertRaw :relfileprefix: ../../../ :mrdocs: Insert uninitialized bits into a bit string. == Synopsis Declared in `<bdlb_bitstringutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void insertRaw( uint64_t* bitString, std::size_t initialLength, std::size_t dstIndex, std::size_t numBits); ---- == Description Insert the specified `numBits` into the specified `bitString` having the specified `initialLength` beginning at the specified `dstIndex`. Bits at or above `dstIndex` are shifted up by `numBits` index positions and the length of `bitString` is increased by `numBits`. The values of the inserted bits are undefined. The behavior is undefined unless `dstIndex <= initialLength` and `bitString` has a capacity of at least `initialLength + numBits`. Note that the inserted bits are not assigned any value. == Parameters [cols="1,4"] |=== | Name| Description | *bitString* | bit string to modify | *initialLength* | length of `bitString` before insertion | *dstIndex* | bit position at which to insert | *numBits* | number of bits to insert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#