def list_of_uints_to_uint(list_of_uints, width):
    """
    Convert a list of unsigned integers into a single unsigned integer.

    Args:
        `list_of_uints`: The list of integers.
        `width`: The width of each individual integer.

    >>> # Check that first is the least significant.
    >>> list_of_uints_to_uint(list_of_uints=[1, 0, 0], width=1)
    1
    >>> list_of_uints_to_uint(list_of_uints=[0, 0, 1], width=1)
    4
    >>> # Check for width of 2.
    >>> list_of_uints_to_uint(list_of_uints=[3, 2, 1], width=2)
    27
    """
    if None in list_of_uints:
        output = None
    else:
        output = 0
        f = pow(2, width)
        for v in reversed(list_of_uints):
            assert v < f
            output += v
            output *= f
        output //= f
    return output
