def decode_integer_big_endian_4(frame, start):
    """ Encode an integer in a byte array using big endian on 4 bytes.
    Args:
        frame:  Source byte array
        start:  Read start index
    Returns:
        Decoded integer value
    """
    return (frame[start] << 24) | (frame[start + 1] << 16) | (frame[start + 2] << 8) | frame[start + 3]