title: Java BigInteger(byte[] val)
body: <p>I am trying to understand how does the java.math.BigInteger.BigInteger(byte[] val) constructor work. </p>
  
  <p>For example when I create a BigInteger instance from the byte array [1, 0], the corresponding string it creates is 256. Surely, the binary string 10 corresponds to value 2 in base 10. How does it convert it from 10 to 256? What am I missing?</p>