@staticmethod
def _power_of_two_range(start):
    """
        A generator that continually returns the next power of two value.
        E.g. 1, 2, 4, 8, 16, 32, etc.

        :param start: The value to start at.
        """
    while True:
        yield start
        start <<= 1
