def decode_response(client_message, to_object=None):
parameters = dict(value=None, replica_timestamps=None, replica_count=None)<EOL>parameters['<STR_LIT:value>'] = client_message.read_long()<EOL>replica_timestamps_size = client_message.read_int()<EOL>replica_timestamps = []<EOL>for _ in range(<NUM_LIT:0>, replica_timestamps_size):<EOL><INDENT>replica_timestamps_item = (client_message.read_str(), client_message.read_long())<EOL>replica_timestamps.append(replica_timestamps_item)<EOL><DEDENT>parameters['<STR_LIT>'] = ImmutableLazyDataList(replica_timestamps, to_object)<EOL>parameters['<STR_LIT>'] = client_message.read_int()<EOL>return parameters<EOL>
Decode response from client message