[#BloombergLP-bdlc-PackedIntArray-0b-resize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray]::resize :relfileprefix: ../../../ :mrdocs: Set the length of this array to the specified `numElements`. If `numElements > length()`, the added elements are initialized to 0. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void resize(std::size_t numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#