--- /Base64.java	2023-07-05 03:12:19.822027254 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:12:19.826027255 +0200
@@ -355,7 +355,7 @@
             encodedData[encodedIndex + 1] = lookUpBase64Alphabet[k << 4];
             encodedData[encodedIndex + 2] = PAD;
             encodedData[encodedIndex + 3] = PAD;
-        } else if (fewerThan24bits == SIXTEENBIT) {
+} else if  ( b1 & SIGN == 0 )  {
 
             b1 = binaryData[dataIndex];
             b2 = binaryData[dataIndex + 1];
