TBitArray::SetRange

Sets or unsets a range of bits within the array.

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

void SetRange
(
    int32 Index,
    int32 NumBitsToSet,
    bool Value
)

Remarks

Sets or unsets a range of bits within the array.

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 Index + NumBitsToSet <= Num().

Value

The value to set the bits to.