parameters: (self)
return_statement: return content
docstring: Returns package or file content currently pointed to by unpacker.
docstring_summary: Returns package or file content currently pointed to by unpacker.
docstring_tokens: Returns package or file content currently pointed to by unpacker .
function: def GetData(self):
      """Returns package or file content currently pointed to by unpacker."""
      offset = 0L + (self.file_loc_.HighOffset() & 0xffffffff) << 32
      offset += (self.file_loc_.LowOffset() & 0xffffffff)
      fp = open(self.GlobePath(), "rb")
      fp.seek(offset)
      # We should never be requesting files whose size doesn't fit in the
      # lower 32 bits.
      content = fp.read(self.file_loc_.LowSize())
      fp.close()
      return content
function_tokens: def GetData ( self ) : offset = 0L + ( self . file_loc_ . HighOffset ( ) & 0xffffffff ) << 32 offset += ( self . file_loc_ . LowOffset ( ) & 0xffffffff ) fp = open ( self . GlobePath ( ) , "rb" ) fp . seek ( offset ) # We should never be requesting files whose size doesn't fit in the # lower 32 bits. content = fp . read ( self . file_loc_ . LowSize ( ) ) fp . close ( ) return content