Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray > API/Runtime/Core/Containers/TBitArray/InsertRange
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
template<typename OtherAllocator>
void InsertRange
&40;
const TBitArray< OtherAllocator > & ReadBits,
int32 Index,
int32 NumBitsToAdd,
int32 ReadOffsetBits
&41;
Remarks
Inserts multiple bits read from the given BitArray into the array, starting at the given index.
Parameters
| Name | Description |
|---|---|
| ReadBits | The value to set the bits to. |
| Index | The index at which to add; must be 0 <= Index <= Num(). |
| NumBitsToAdd | The number of bits to add. Must be >= 0. |
| ReadOffsetBits | Number of bits into ReadBits at which to start reading. |