Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray > API/Runtime/Core/Containers/TBitArray/SetRangeFromRange
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
template<typename InWordType>
void SetRangeFromRange
&40;
int32 Index,
int32 NumBitsToSet,
const InWordType &42; ReadBits,
int32 ReadOffsetBits
&41;
Remarks
Sets range of bits within the TBitArray to the values read out of a pointer.
Parameters
| Name | Description |
|---|---|
| Index | The index of the first bit to set; must be 0 <= Index <= Num(). |
| NumBitsToSet | The number of bits to set, must satisify 0 <= NumBitsToSet && Index + NumBitsToSet <= Num(). |
| ReadBits | The address of sized integers to read the bits from. Bits are read from ReadBits in the current platform's mathematical bitorder (ReadBits[0] & 0x1, ReadBits[0] & 0x2, ... ReadBits[0] & 0x100, ... ReadBits[0] & 0x80000000, ReadBits[1] & 0x1 ... |
| ReadOffsetBits | Number of bits into ReadBits at which to start reading. |