from typing import List


def octet_list_to_int(octet_list: List[int]) -> int:
    """
    Convert octet list to integer.

    :param octet_list: Octet list to convert.
    :returns: Converted integer.
    """
    result = 0
    for octet in octet_list:
        result <<= 8
        result += octet
    return result