]> git.mxchange.org Git - hub.git/commitdiff
About to fix Base64EncodingModuloException (needed for debugging).
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:29:06 +0000 (23:29 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:29:06 +0000 (23:29 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php

index fdbad2082633f818d69d8f4d2b9a8d67f1ffa835..7a4ec1845a4aa6ef604c921e2c67d29f09a0dcad 100644 (file)
@@ -58,7 +58,9 @@ class RawDataOutputStream extends BaseStream implements OutputStreamable {
                 * [[S]] - Start marker
                 * [[E]] - End marker
                 */
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: data()=' . strlen($data) . ' - BEFORE!');
                $data = BaseRawDataHandler::STREAM_START_MARKER . base64_encode($data) . BaseRawDataHandler::STREAM_END_MARKER;
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: data()=' . strlen($data) . ' - AFTER!');
 
                // Return it
                return $data;