KeyFile.getInt64

long getInt64(string groupName, string key)

Returns the value associated with key under group_name as a signed 64-bit integer. This is similar to [glib.key_file.KeyFile.getInteger] but can return 64-bit results without truncation.

Parameters

groupNamea non-null group name
keya non-null key

Returns

the value associated with the key as a signed 64-bit integer, or

0 if the key was not found or could not be parsed.

Throws

[KeyFileException]