def unsigned_int_8(value: str) ->int:
    """
    Parse value as an integer and verify that it is an unsigned 8-bit value.

    :param value: The number as a string
    :return: The corresponding integer
    """
    value = int(value)
    if not 0 <= value < 2 ** 8:
        raise ValueError(
            'The specified value must be an unsigned 8-bit integer')
    return value
