This commit is contained in:
the-djmaze 2022-10-04 13:32:36 +02:00
parent 026adcd611
commit f0ae4e7e6c

View file

@ -254,7 +254,7 @@ class Binary
$sReturn .= self::$sFunctionName($this->sReadEndBuffer.$sReadResult,
$this->sReadEndBuffer, $this->sFromEncoding, $this->sToEncoding);
$iDecodeLen = \strlen($sReturn);
$iDecodeLen = \strlen($sReadResult);
if ($iCount < $iDecodeLen)
{
$this->sBuffer = \substr($sReturn, $iCount);