def _byte_to_int(data: bytes) ->int:
    """
    Returns integer value of big endian byte data
    :param data:
    :return: Integer value
    :rtype: int
    """
    return ord(data[0:1]) + ord(data[1:2]) * 256 + ord(data[2:3]
        ) * 65536 + ord(data[3:4]) * 16777216
