]> git.mxchange.org Git - core.git/commitdiff
Fixed:
authorRoland Häder <roland@mxchange.org>
Thu, 9 Feb 2023 17:34:13 +0000 (18:34 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 9 Feb 2023 17:34:13 +0000 (18:34 +0100)
- wrong function used, must be strlen()

framework/main/classes/file_directories/io_stream/class_FileIoStream.php

index a5e8f8b5bde92cb1083d8e6015fda77dd42c1b44..b40dbfe20e38ab7a97df5fd8860663ba7fb0d170 100644 (file)
@@ -128,7 +128,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil
                ));
 
                // Encode the (maybe) binary stream with Base64
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('FILE-IO-STREAM: Encoding %d bytes to BASE64 string ...', count($dataArray[1])));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('FILE-IO-STREAM: Encoding %d bytes to BASE64 string ...', strlen($dataArray[1])));
                $b64Stream = base64_encode($dataArray[1]);
 
                // write the data line-by-line