code: def decode_offset_commit_response(cls, data):
          
          ((correlation_id,), cur) = relative_unpack('>i', data, 0)
          ((num_topics,), cur) = relative_unpack('>i', data, cur)
  
          for _i in range(num_topics):
              (topic, cur) = read_short_ascii(data, cur)
              ((num_partitions,), cur) = relative_unpack('>i', data, cur)
  
              for _i in range(num_partitions):
                  ((partition, error), cur) = relative_unpack('>ih', data, cur)
                  yield OffsetCommitResponse(topic, partition, error)
docs: Decode bytes to an OffsetCommitResponse
  
          :param bytes data: bytes to decode