I've got a project that converts strings of hex digits into unsigned 32-bit numbers.
Under C / C++ this has been easy and straightforward using casting and/or other
techniques. But under javascript... I can't seem to find a method that works.
let hex = "7c000000"
var a: uint
when defined(js):
a = ???(hex)
Run
I suppose I could make use of importjs to get around this, but I was wondering
if anyone has come up with a more "nimic" answer.
John
