@classmethod<EOL><INDENT>def decode_offset_fetch_response(cls, data):<DEDENT>
((correlation_id,), cur) = relative_unpack('<STR_LIT>', data, <NUM_LIT:0>)<EOL>((num_topics,), cur) = relative_unpack('<STR_LIT>', data, cur)<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 _ in range(num_partitions):<EOL><INDENT>((partition, offset), cur) = relative_unpack('<STR_LIT>', data, cur)<EOL>(metadata, cur) = read_short_string(data, cur)<EOL>((error,), cur) = relative_unpack('<STR_LIT>', data, cur)<EOL>yield OffsetFetchResponse(topic, partition, offset,<EOL>metadata, error)<EOL><DEDENT><DEDENT>
Decode bytes to an OffsetFetchResponse

Arguments:
    data: bytes to decode