code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Sharing Protocol record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SP record not yet initialized!')
  
          return b'SP' + struct.pack('=BBBBB', RRSPRecord.length(), SU_ENTRY_VERSION, 0xbe, 0xef, self.bytes_to_skipf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Sharing Protocol record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('SP record not yet initialized!')
  
          return b'SP' + struct.pack('=BBBBB', RRSPRecord.length(), SU_ENTRY_VERSION, 0xbe, 0xef, self.bytes_to_skip)
docs: Generate a string representing the Rock Ridge Sharing Protocol record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.