code: def decode_response(client_message, to_object=None):
      
      parameters = dict(response=None)
      response_size = client_message.read_int()
      response = []
      for _ in range(0, response_size):
          response_item = client_message.read_data()
          response.append(response_item)
      parameters['response'] = ImmutableLazyDataList(response, to_object)
      return parameters
docs: Decode response from client message