code: protected BigInteger OS2IP(byte[] x) {
  
          if (x == null || x.length == 0) {
              throw new IllegalArgumentException("x");
          }
  
          return new BigInteger(1, x);
      }
docs: /*
  See https://tools.ietf.org/html/rfc3447#section-4.2