Result [link]

AC

Code [DL]

s := stdin nextLine.
val := s asNumber.

num := Number readFrom: (ReadStream on: s) radix: 2.
Transcript show: num printString; cr.

stdin

0110110101111110111101110011110110100000101010111100111010000001010010000111100100101011001111001001

stdout

542197732562372598198600643529

stderr