Function HierarchicalBitset.GetIterator

GetIterator (UnsafeSpan<int> scratchBuffer)

Get an iterator over all set bits.

Public
Iterator GetIterator (

UnsafeSpan<int>

scratchBuffer

A buffer to use for temporary storage. A slice of this buffer will be returned on each iteration, filled with the indices of the set bits.

)

Get an iterator over all set bits.