BCNet.Utils.HexStringToUInt C# (CSharp) Méthode

HexStringToUInt() public static méthode

public static HexStringToUInt ( string hex ) : uint
hex string
Résultat uint
        public static uint HexStringToUInt(string hex)
        {
            byte[] h = HexStringToByteArray(hex);
            uint val = (uint)((h[0] << 24) | (h[1] << 16) | (h[2] << 8) | h[3]);
            return val;
        }