code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Rock Ridge record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('RR record not yet initialized!')
  
          return b'RR' + struct.pack('=BBB', RRRRRecord.length(), SU_ENTRY_VERSION, self.rr_flagsf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Rock Ridge record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('RR record not yet initialized!')
  
          return b'RR' + struct.pack('=BBB', RRRRRecord.length(), SU_ENTRY_VERSION, self.rr_flags)
docs: Generate a string representing the Rock Ridge Rock Ridge record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.