code: public static int fromBinary(boolean[] binary)
      {
          Check.notNull(binary);
  
          int number = 0;
          for (final boolean current : binary)
          {
              number = number << 1 | boolToInt(current);
          }
          return number;
      }
docs: Convert binary array to number representation.
  
  @param binary The binary to convert (must not be <code>null</code>).
  @return The number representation.
  @throws LionEngineException If invalid arguments.