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