class_docstr: Basic interface that reads and writes bytes
docstr: Writes all the data to the stream
  
  This call is blocking until all data is written. EOFError will be
  raised if there is a problem writing to the stream
  
  Parameters
  ----------
  data : bytes
      Data to write out
  
  Raises
  ------
  EOFError
      Any issue with writing will be raised as a EOFError
code: def write(self, data):
      """
      Writes all the data to the stream
  
      This call is blocking until all data is written. EOFError will be
      raised if there is a problem writing to the stream
  
      Parameters
      ----------
      data : bytes
          Data to write out
  
      Raises
      ------
      EOFError
          Any issue with writing will be raised as a EOFError
      """
      raise NotImplementedError
  
file_path: metaflow/metaflow/plugins/env_escape/communication/bytestream.py
label_desc: Use image node_id 2 for calling the ByteStream obj's underlying member method code with example usage: obj.write(data) without return types