TBitArray::SetRangeFromRange

Sets range of bits within the [TBitArray](API\Runtime\Core\Containers\TBitArray) to the values read out of a pointer.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/BitArray.h

Include

#include "Containers/BitArray.h"

Syntax

template<typename InWordType>
void SetRangeFromRange
(
    int32 Index,
    int32 NumBitsToSet,
    const InWordType * ReadBits,
    int32 ReadOffsetBits
)

Remarks

Sets range of bits within the TBitArray to the values read out of a pointer.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss