code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Symbolic Link record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SL record not yet initialized!')
  
          outlist = [b'SL', struct.pack('=BBB', self.current_length(), SU_ENTRY_VERSION, self.flags)]
          for comp in self.symlink_components:
              outlist.append(comp.record())
  
          return b''.join(outlistf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Symbolic Link record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SL record not yet initialized!')
  
          outlist = [b'SL', struct.pack('=BBB', self.current_length(), SU_ENTRY_VERSION, self.flags)]
          for comp in self.symlink_components:
              outlist.append(comp.record())
  
          return b''.join(outlist)
docs: Generate a string representing the Rock Ridge Symbolic Link record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.