This module has some extra functions that are not in the SteamWorks API but may be useful to deal with it.
.. function:: extra.parseUint64 (str)
:param string str: The string to convert to uint64.
:returns: (`uint64`) The parsed number. 0 if the string was invalid.
:see: :ref:`64-bit-integers`
Converts a string to a 64-bit integer that can be used with this library.
Example:
local function saveMyId()
-- This is highly useless since your ID won't change, but you get the point.
writeFile('my_id.txt', tostring(Steam.user.getSteamID()))
end
local function readMyId()
return Steam.extra.parseUint64(readFile('my_id.txt'))
end