From: Roland Haeder Date: Sat, 15 Feb 2014 22:29:06 +0000 (+0100) Subject: About to fix Base64EncodingModuloException (needed for debugging). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac4641b6df0add39692d0d8b883a67dad328a373;p=hub.git About to fix Base64EncodingModuloException (needed for debugging). Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php b/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php index fdbad2082..7a4ec1845 100644 --- a/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php +++ b/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php @@ -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;