TBitArray::AddRange

Adds multiple bits read from the given BitArray.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/BitArray.h"

Syntax

template<typename OtherAllocator>
int32 AddRange
(
    const TBitArray< OtherAllocator > & ReadBits,
    int32 NumBitsToAdd,
    int32 ReadOffsetBits
)

Remarks

Adds multiple bits read from the given BitArray.

Returns

The index of the first added bit.

Parameters

Parameter

Description

ReadBits

The value to set the bits to.

NumBitsToAdd

The number of bits to add. Must be >= 0.

ReadOffsetBits

Number of bits into ReadBits at which to start reading. Must be >= 0.

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