code: def _array_tofile(fid, data):
      # ravel gives a c-contiguous buffer
      fid.write(data.ravel().view("b").data)
  
file_path: aim/aim/sdk/objects/io/wavfile.py
imports: import io
  import sys
  import numpy
  import struct
  import warnings
  from enum import IntEnum
label_desc: Use image node_id 9 for calling a global function with example usage: _array_tofile(fid, data) without return types