I am creating an application where someone can paste a user's steam ID in a search box. In most cases it is going to be the steam ID from the in-game console which looks like: STEAM_1:0:12345678
. I need to take this and convert it to the 64bit version in order to make requests to the Steam API for that user.
There is a lot of useful information here: https://developer.valvesoftware.com/wiki/SteamID
But I still can't figure out how to do the conversion to 64bit.