code: def write(self, data):
      start = self._idx
      self._idx += len(data)
      self[start : self._idx] = data
  
file_path: kafka-python/kafka/protocol/frame.py
label_desc: Use image node_id 3 for calling the KafkaBytes obj's underlying member method code with example usage: obj.write(data) without return types