= 0) { return substr($connection->readBytes($length + 2), 0, -2); } if ($length == -1) { return null; } } }