code: def dumpIO(object, **kwds):
      """dill.dump of object to a buffer.
      Loads with "dill.temp.loadIO".  Returns the buffer object.
  
          >>> dumpfile = dill.temp.dumpIO([1, 2, 3, 4, 5])
          >>> dill.temp.loadIO(dumpfile)
          [1, 2, 3, 4, 5]
      """
      import dill as pickle
      from io import BytesIO as StringIO
  
      file = StringIO()
      pickle.dump(object, file)
      file.flush()
      return file
  
file_path: dill/dill/temp.py
imports: import contextlib
label_desc: Use image node_id 8 for calling a global function with example usage: dumpIO(object) and returns: file