parameters: (self)
return_statement: return crc
docstring: Returns crc of the globe.
docstring_summary: Returns crc of the globe.
docstring_tokens: Returns crc of the globe .
function: def GetCrc(self):
      """Returns crc of the globe."""
      offset = (0L + os.path.getsize(self.GlobePath()) -
                glc_unpacker.Package.kCrcOffset)
      fp = open(self.GlobePath(), "rb")
      fp.seek(offset)
      crc_str = fp.read(glc_unpacker.Package.kCrcSize)
      fp.close()
      crc = [ord(crc_str[0]), ord(crc_str[1]), ord(crc_str[2]), ord(crc_str[3])]
      return crc
function_tokens: def GetCrc ( self ) : offset = ( 0L + os . path . getsize ( self . GlobePath ( ) ) - glc_unpacker . Package . kCrcOffset ) fp = open ( self . GlobePath ( ) , "rb" ) fp . seek ( offset ) crc_str = fp . read ( glc_unpacker . Package . kCrcSize ) fp . close ( ) crc = [ ord ( crc_str [ 0 ] ) , ord ( crc_str [ 1 ] ) , ord ( crc_str [ 2 ] ) , ord ( crc_str [ 3 ] ) ] return crc