Skip to main content

Auki::ConjureKit::Manna::BitwiseNativeArrayView::Enumerator

Enumerator for iterating over the bits in the BitwiseNativeArrayView..

Inherits from IEnumerator< bool >, IEnumerator, IDisposable

Public Functions

Name
Enumerator(in BitwiseNativeArrayView array)
Initializes the Enumerator for BitwiseNativeArrayView.
voidDispose()
Disposing of the enumerator.
boolMoveNext()
Moves the enumerator to the next bit in the view.
voidReset()
Resets the enumerator to the initial state.

Public Properties

Name
boolCurrent
Gets the value of the current bit in the view.
object IEnumerator.Current

Public Functions Documentation

function Enumerator

Enumerator(
in BitwiseNativeArrayView array
)

Initializes the Enumerator for BitwiseNativeArrayView.

Parameters:

  • array The array the enumerator should iterate on.

function Dispose

void Dispose()

Disposing of the enumerator.

function MoveNext

bool MoveNext()

Moves the enumerator to the next bit in the view.

Return: True if the enumerator was successfully moved to the next bit; otherwise, false.

function Reset

void Reset()

Resets the enumerator to the initial state.

Public Property Documentation

property Current

bool Current;

Gets the value of the current bit in the view.

property Current

object IEnumerator. Current;