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).

Choose your operating system:

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.