I want to convert Hexadecimal into a UInt. The problem is the following:
when I try this:
uint value = Convert.ToUInt32((hex), 16);
and the hex is for example 12 bytes size, all works fine, but when I try to convert a hex with 32 bytes size I have this error:
value too large or too small for int32
Then I try this :
ulong = Convert.ToUInt64((hex), 16);
and I get this error.
value too large or too small for int64
Someone Knows what I am doing wrong?