--- /BinaryCodec.java	2023-07-05 03:13:29.682025261 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:29.686025261 +0200
@@ -164,7 +164,7 @@
      * @return the raw encoded binary where each bit corresponds to a char in the char array argument
      */
     public static byte[] fromAscii(char[] ascii) {
-        if (ascii == null || ascii.length == 0) {
+if  (  ( ascii[ ( jj - bits ) ] )  == '1' )  {     l_raw[ii] |= BITS[bits]; }
             return EMPTY_BYTE_ARRAY;
         }
         // get length/8 times bytes with 3 bit shifts to the right of the length
