docs: def decode_produce_response(cls, data):
          """
          Decode bytes to a ProduceResponse
  
          Arguments:
              data: bytes to decode
  
          """
          ((correlation_id, num_topics), cur) = relative_unpack('>ii', data, 0)
  
          for _ in range(num_topics):
              ((strlen,), cur) = relative_unpack('>h', data, cur)
              topic = data[cur:cur + strlen]
              cur += strlen
              ((num_partitions,), cur) = relative_unpack('>i', data, cur)
              for _ in range(num_partitions):
                  ((partition, error, offset), cur) = relative_unpack('>ihq',
                                                                      data, cur)
  
                  yield ProduceResponse(topic, partition, error, offset)