def decode_response(client_message, to_object=None):
parameters = dict(read_count=None, items=None)<EOL>parameters['<STR_LIT>'] = client_message.read_int()<EOL>items_size = client_message.read_int()<EOL>items = []<EOL>for _ in range(<NUM_LIT:0>, items_size):<EOL><INDENT>items_item = client_message.read_data()<EOL>items.append(items_item)<EOL><DEDENT>parameters['<STR_LIT>'] = ImmutableLazyDataList(items, to_object)<EOL>return parameters<EOL>
Decode response from client message