--- /Base64.java	2023-07-05 03:11:59.106027846 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:11:59.106027846 +0200
@@ -282,7 +282,7 @@
         // If the output is to be "chunked" into 76 character sections,
         // for compliance with RFC 2045 MIME, then it is important to
         // allow for extra length to account for the separator(s)
-        if (isChunked) {
+if  (  ( float )   ( encodedDataLengthLong )  / CHUNK_SIZE )  {
 
             chunckCount = (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math
                     .ceil((float) encodedDataLengthLong / CHUNK_SIZE));
