@classmethod<EOL><INDENT>def decode_fetch_response(cls, data):<DEDENT>
((correlation_id, num_topics), cur) = relative_unpack('<STR_LIT>', data, <NUM_LIT:0>)<EOL>for _ in range(num_topics):<EOL><INDENT>(topic, cur) = read_short_string(data, cur)<EOL>((num_partitions,), cur) = relative_unpack('<STR_LIT>', data, cur)<EOL>for j in range(num_partitions):<EOL><INDENT>((partition, error, highwater_mark_offset), cur) =relative_unpack('<STR_LIT>', data, cur)<EOL>(message_set, cur) = read_int_string(data, cur)<EOL>yield FetchResponse(<EOL>topic, partition, error,<EOL>highwater_mark_offset,<EOL>KafkaProtocol._decode_message_set_iter(message_set))<EOL><DEDENT><DEDENT>
Decode bytes to a FetchResponse

Arguments:
    data: bytes to decode