code: def add_component(self, symlink_comp):
          # type: (bytes) -> None
          '''
          Add a new component to this symlink record.
  
          Parameters:
           symlink_comp - The string to add to this symlink record.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SL record not yet initialized!')
  
          if (self.current_length() + RRSLRecord.Component.length(symlink_comp)) > 255:
              raise pycdlibexception.PyCdlibInvalidInput('Symlink would be longer than 255')
  
          self.symlink_components.append(self.Component.factory(symlink_comp)f add_component(self, symlink_comp):
          # type: (bytes) -> None
          '''
          Add a new component to this symlink record.
  
          Parameters:
           symlink_comp - The string to add to this symlink record.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SL record not yet initialized!')
  
          if (self.current_length() + RRSLRecord.Component.length(symlink_comp)) > 255:
              raise pycdlibexception.PyCdlibInvalidInput('Symlink would be longer than 255')
  
          self.symlink_components.append(self.Component.factory(symlink_comp))
docs: Add a new component to this symlink record.
  
          Parameters:
           symlink_comp - The string to add to this symlink record.
          Returns:
           Nothing.