• Get the first unoccupied position in a bundle

    Arguments

    • bundle - The bundle to check

    Returns

    • u32 - The first unoccupied position (None if full)

    Parameters

    • bitmap: Uint8Array

    Returns number | undefined