[#BloombergLP-bdlb-BitStringUtil-assign-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::assign :relfileprefix: ../../../ :mrdocs: `assign` overloads == Synopses Declared in `<bdlb_bitstringutil.h>` Set the bit at the specified `index` in the specified `bitString` to the specified `value`. The behavior is undefined unless `index` is less than the capacity of `bitString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/BitStringUtil/assign-0e.adoc[assign]( uint64_t* bitString, std::size_t index, bool value); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/assign-0e.adoc[_» more..._]# Set the specified `numBits` beginning at the specified `index` in the specified `bitString` to the specified `value`. The behavior is undefined unless `bitString` has a capacity of at least `index + numBits`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bdlb/BitStringUtil/assign-04.adoc[assign]( uint64_t* bitString, std::size_t index, bool value, std::size_t numBits); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/assign-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#