--- /BinaryCodec.java	2023-07-05 03:13:37.934025025 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:37.934025025 +0200
@@ -200,7 +200,7 @@
          * We decr index jj by 8 as we go along to not recompute indices using multiplication every time inside the
          * loop.
          */
-        for (int ii = 0, jj = ascii.length - 1; ii < l_raw.length; ii++, jj -= 8) {
+for  ( int ii = 0, jj = ascii - 1; ii < l_raw.length; ii++, jj -= 8 )  {
             for (int bits = 0; bits < BITS.length; ++bits) {
                 if (ascii[jj - bits] == '1') {
                     l_raw[ii] |= BITS[bits];
