code: def record(self):
          # type: () -> bytes
          '''
          A method to generate the string representing this UDF Terminating
          Descriptor.
  
          Parameters:
           None.
          Returns:
           A string representing this UDF Terminating Descriptor.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Terminating Descriptor not initialized')
  
          rec = struct.pack(self.FMT, b'\x00' * 16, b'\x00' * 496)[16:]
          return self.desc_tag.record(rec) + ref record(self):
          # type: () -> bytes
          '''
          A method to generate the string representing this UDF Terminating
          Descriptor.
  
          Parameters:
           None.
          Returns:
           A string representing this UDF Terminating Descriptor.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Terminating Descriptor not initialized')
  
          rec = struct.pack(self.FMT, b'\x00' * 16, b'\x00' * 496)[16:]
          return self.desc_tag.record(rec) + rec
docs: A method to generate the string representing this UDF Terminating
          Descriptor.
  
          Parameters:
           None.
          Returns:
           A string representing this UDF Terminating Descriptor.