protocol_descriptors.py
def parse_data_one(data, int_format=True):
    ''' Parse data to int array and return it. '''
    data_array = []
    for byte_idx, byte in enumerate(data):
        if int_format: 
            data_array.append(int(byte))
        else:
            data_array.append(byte)

    return data_array
 Parse data to int array and return it. 
Parse data to int array and return it.
Parse data to int array and return it .
def parse_data_one(data, int_format=True):
    data_array = []
    for byte_idx, byte in enumerate(data):
        if int_format: 
            data_array.append(int(byte))
        else:
            data_array.append(byte)
    return data_array
def parse_data_one ( data , int_format = True ) : data_array = [ ] for byte_idx , byte in enumerate ( data ) : if int_format : data_array . append ( int ( byte ) ) else : data_array . append ( byte ) return data_array
Parse data to int array and return it.
Parse data to int array and return it .
''' Parse data to int array and return it. '''
data
int_format