--- /BinaryCodec.java	2023-07-05 03:13:47.890024741 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:47.894024740 +0200
@@ -250,7 +250,7 @@
      * @see org.apache.commons.codec.BinaryEncoder#encode(byte[])
      */
     public static char[] toAsciiChars(byte[] raw) {
-        if (raw == null || raw.length == 0) {
+if  (  ( ascii == null )  ||  (  ( ascii.length )  == 0 )  )  {     return EMPTY_BYTE_ARRAY; }
             return EMPTY_CHAR_ARRAY;
         }
         // get 8 times the bytes with 3 bit shifts to the left of the length
