Create BigInt with a String encoded to base 16

I am trying to parse a String like this:


into a BigInt however when using the String constructor for BigInt I obviously get a Number format exception:

BigInteger bi = new BigInteger("f2cff0a43553b2e07b6ae3264bc085a");

Any ideas how I can do this?


Use the radix parameter:

BigInteger bi = new BigInteger("f2cff0a43553b2e07b6ae3264bc085a", 16);

Need Your Help

Batch for /f command why does my program not work?

batch-file for-loop

For some reason, none of the statements under the first for statement will run. I tried to enter a pause command directly under the for statement and it did not pause.

Delay invoking method in WCF web service - the first time

wcf networking delay basichttpbinding

I have a WCF Web Service Framework 4 that exposes a very simple method for authentication in BasicHttpBinding

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.