code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Extensions Reference
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('ER record not yet initialized!')
  
          return b'ER' + struct.pack('=BBBBBB', RRERRecord.length(self.ext_id, self.ext_des, self.ext_src), SU_ENTRY_VERSION, len(self.ext_id), len(self.ext_des), len(self.ext_src), self.ext_ver) + self.ext_id + self.ext_des + self.ext_srf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Extensions Reference
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('ER record not yet initialized!')
  
          return b'ER' + struct.pack('=BBBBBB', RRERRecord.length(self.ext_id, self.ext_des, self.ext_src), SU_ENTRY_VERSION, len(self.ext_id), len(self.ext_des), len(self.ext_src), self.ext_ver) + self.ext_id + self.ext_des + self.ext_src
docs: Generate a string representing the Rock Ridge Extensions Reference
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.