Skip to main content

NewBitSet

Initializes a new BitSet of the specified size.

def NewBitSet(
desiredCap: uint
) - > *BitSet

Initializes a new BitSet of the specified size.

Parameters

NameTypeDescription
desiredCapuintThe desired capacity for the new BitSet, representing the maximum number of bits it can hold.

Returns

TypeDescription
*BitSetA pointer to the newly created BitSet.