class_docstr: Convenience class to encapsulate tractogram file format.
class_docstr_tok: ["Convenience","class","to","encapsulate","tractogram","file","format","."]
docstr: Saves streamlines to a filename or file-like object.
  
  Parameters
  ----------
  fileobj : string or file-like object
      If string, a filename; otherwise an open file-like object
      opened and ready to write.
docstr_tok: ["Saves","streamlines","to","a","filename","or","file-like","object",".","Parameters","--","--","--","--","--","fileobj",":","string","or","file-like","object","If","string",",","a","filename",";","otherwise","an","open","file-like","object","opened","and","ready","to","write","."]
code: def save(self, fileobj):
      """Saves streamlines to a filename or file-like object.
  
      Parameters
      ----------
      fileobj : string or file-like object
          If string, a filename; otherwise an open file-like object
          opened and ready to write.
      """
      raise NotImplementedError()
  
imports: from abc import ABC, abstractmethod
  from .header import Field
label_desc: Use image node_id 9 for calling the TractogramFile obj's underlying member method code with example usage: obj.save(fileobj) without return types