TBitArray::Init

Resets the array's contents.

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 Init
(
    bool bValue,
    int32 InNumBits
)

Remarks

Resets the array's contents. Use TBitArray(bool bValue, int32 InNumBits) instead of default constructor and Init().

Parameters

Parameter

Description

Value

The value to initial the bits to.

NumBits

The number of bits in the array.