code: def add_data(self, data):
          
  
          if self.state == self.ErrorState:
              return
  
          self.raw_data += bytearray(data)
  
          still_processing = True
          while still_processing:
              still_processing = self.process_data()
docs: Add data to our stream, emitting reports as each new one is seen
  
          Args:
              data (bytearray): A chunk of new data to add