binHexOctDec from Nick Ray/Jackson B