TBitArray::SetRangeFromRange

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

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/BitArray.h"

Syntax

template<typename OtherAllocator>
void SetRangeFromRange
(
    int32 Index,
    int32 NumBitsToSet,
    const TBitArray< OtherAllocator > & ReadBits,
    int32 ReadOffsetBits
)

Remarks

Sets range of bits within this TBitArray to the values read out another TBitArray.

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 value to set the bits to.

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