docstr: Write structure to fileobj
  
  Write starts at fileobj current file position.
  
  Parameters
  ----------
  fileobj : file-like object
     Should implement ``write`` method
  
  Returns
  -------
  None
  
  Examples
  --------
  >>> wstr = WrapStruct()
  >>> from io import BytesIO
  >>> str_io = BytesIO()
  >>> wstr.write_to(str_io)
  >>> wstr.binaryblock == str_io.getvalue()
  True
docstr_tok: ["Write","structure","to","fileobj","Write","starts","at","fileobj","current","file","position",".","Parameters","--","--","--","--","--","fileobj",":","file-like","object","Should","implement","``","write","``","method","Returns","--","--","--","-","None","Examples","--","--","--","--",">",">",">","wstr","=","WrapStruct","(",")",">",">",">","from","io","import","BytesIO",">",">",">","str_io","=","BytesIO","(",")",">",">",">","wstr.write_to","(","str_io",")",">",">",">","wstr.binaryblock","==","str_io.getvalue","(",")","True"]
code: def write_to(self, fileobj):
      """Write structure to fileobj
  
      Write starts at fileobj current file position.
  
      Parameters
      ----------
      fileobj : file-like object
         Should implement ``write`` method
  
      Returns
      -------
      None
  
      Examples
      --------
      >>> wstr = WrapStruct()
      >>> from io import BytesIO
      >>> str_io = BytesIO()
      >>> wstr.write_to(str_io)
      >>> wstr.binaryblock == str_io.getvalue()
      True
      """
      fileobj.write(self.binaryblock)
  
imports: from __future__ import annotations
  import numpy
  from .None import imageglobals
  from .batteryrunners import BatteryRunner
  from .volumeutils import Recoder, endian_codes, native_code, pretty_mapping, swapped_code
label_desc: Use image node_id 4 for calling the WrapStruct obj's underlying member method code with example usage: obj.write_to(fileobj) without return types