code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Platform Dependent
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('PD record not yet initialized!')
  
          return b'PD' + struct.pack('=BB', RRPDRecord.length(self.padding),
                                     SU_ENTRY_VERSION) + self.paddinf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Platform Dependent
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('PD record not yet initialized!')
  
          return b'PD' + struct.pack('=BB', RRPDRecord.length(self.padding),
                                     SU_ENTRY_VERSION) + self.padding
docs: Generate a string representing the Rock Ridge Platform Dependent
          record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.