How can I convert a Hex String into 32bit Binary String? I did
String binAddr = Integer.toBinaryString(Integer.parseInt(hexAddr, 16));
To get the Binary String, but I need to pad it with 0's to ensure its 32 bits, how can I do that, preferably with Formatter?