Example #1
0
        public static uint256 Parse(string hex)
        {
            var bytes = Packer.BigEndian.GetBytes(Encoder.GetBytes(hex.Trim()));

            Array.Resize(ref bytes, Size);
            return(new uint256(bytes));
        }