code: def needs_data(self, data, length):
          
          assert isinstance(data, bytes)
          if len(data) < length:
              self.parser_error("needs " + str(length) + " bytes of data have " + str(len(data)))
docs: :return: None