How can integer array use stream function

In reply to dave_59:

How many binary bits do you need to store a 10-digit decimal number

min 30, max 34
How do you convert a binary number to decimal digits?
multiply each binary digit with base & sum.