code: def set_app_data(self, tnum, tdata):
          
          if not isinstance(tdata, str):
              raise TypeError("tag data must be str")
  
          self.tagClass = Tag.applicationTagClass
          self.tagNumber = tnum
          self.tagLVT = len(tdata)
          self.tagData = tdata
docs: set the values of the tag.