TBitArray::AddRange

Adds multiple bits read from the given pointer.

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 InWordType>
int32 AddRange
(
    const InWordType * ReadBits,
    int32 NumBitsToAdd,
    int32 ReadOffsetBits
)

Remarks

Adds multiple bits read from the given pointer.

Returns

The index of the first added bit.

Parameters

Parameter

Description

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

NumBitsToAdd

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

ReadOffsetBits

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