code: def read_raw(self, length, *, error=None):
          
          if length is None:
              length = len(self)
  
          raw = dict(
              packet=self._read_fileng(length),
              error=error or None,
          )
  
          return raw
docs: Read raw packet data.