I have a file reg.txt
which has 32 bit binary values like below
00000000000000000000000000001000
00000000000000000000010100100000
00000000000000000010000000000000
00000000000000000000000000000000
00000001000000000001000010010000
00000000010001000010000100100100
00000000001001000100010000000000
is there a way to read the 32bit binary value and store in an int?