Character.getNumericValue(binaryNumber.charAt(index)