public function readFromString($chunk, $final = true)
    {
        $this->add($chunk);
        $this->readed += mb_orig_strlen($chunk);
        if ($final) {
            $this->onRead();
        }
    }
public function readFromString($chunk, $final = true)
    {
        $this->add($chunk);
        $this->readed += mb_orig_strlen($chunk);
        if ($final) {
            $this->onRead();
        }
    }
public function readFromString ( $ chunk , $ final = true ) { $ this -> add ( $ chunk ) ; $ this -> readed += mb_orig_strlen ( $ chunk ) ; if ( $ final ) { $ this -> onRead ( ) ; } }
Append string to input buffer
@param  string $chunk Piece of request input
@param  boolean $final Final call is THIS SEQUENCE of calls (not mandatory final in request)?
@return void
Append string to input buffer