def get_int4(data, start):
    """Pull four bytes from data at start and return as an integer."""
    return (data[start] << 24) + (data[start + 1] << 16) + (data[start + 2] <<
        8) + data[start + 3]
