def ints_to_int_be(*args):
    """
    Combine a set of 8-bit integers into a single integer. (Big Endian)

    The main purpose of this function is to get around the limitation Python
    has of specifying structures with integers that have unusual byte sizes.

    :param args: List or tuple of 8-bit integers
    :type args: list|tuple
    :return: int
    :rtype: int
    """
    num = 0
    for _int in args:
        num <<= 8
        num = num | _int
    return num
