Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
int32 PadToNum
&40;
int32 DesiredNum,
bool bPadValue
&41;
Remarks
Pad this bit array with the specified value to ensure that it is at least the specified length. Does nothing if Num() >= DesiredNum. The number of bits that were added to the array, or 0 if Num() >= DesiredNum.
Parameters
| Name | Description |
|---|---|
| DesiredNum | The desired number of elements that should exist in the array. |
| bPadValue | The value to pad with (0 or 1) |