code: def writeframesraw(self, data):
      if not isinstance(data, (bytes, bytearray)):
          data = memoryview(data).cast("B")
      self._ensure_header_written()
      if self._comptype == "ULAW":
          with warnings.catch_warnings():
              warnings.simplefilter(
                  "ignore", category=DeprecationWarning
              )
              import audioop
          data = audioop.lin2ulaw(data, self._sampwidth)
      nframes = len(data) // self._framesize
      self._file.write(data)
      self._nframeswritten = self._nframeswritten + nframes
      self._datawritten = self._datawritten + len(data)
  
imports: from collections import namedtuple
  import warnings
label_desc: Use image node_id 20 for calling the Au_write obj's underlying member method code with example usage: obj.writeframesraw(data) without return types