def alignUp(value: int, size: int):
    """Aligns and address to the given size.

    :param value: The address to align up.
    :type value: int
    :param size: The size to which we align the address.
    :type size: int

    :return The aligned address.
    :rtype int
    """
    return value + (size - value % size) % size