public function reset()
    {
        $this->encoding = [
            'type' => null,
            'filter' => null
        ];
        $this->charset = [
            'from' => null,
            'to' => null,
            'filter' => null
        ];
        $this->stream->rewind();
        $this->decodedStream = $this->stream;
        $this->charsetStream = $this->stream;
    }
public function reset()
    {
        $this->encoding = [
            'type' => null,
            'filter' => null
        ];
        $this->charset = [
            'from' => null,
            'to' => null,
            'filter' => null
        ];
        $this->stream->rewind();
        $this->decodedStream = $this->stream;
        $this->charsetStream = $this->stream;
    }
public function reset ( ) { $ this -> encoding = [ 'type' => null , 'filter' => null ] ; $ this -> charset = [ 'from' => null , 'to' => null , 'filter' => null ] ; $ this -> stream -> rewind ( ) ; $ this -> decodedStream = $ this -> stream ; $ this -> charsetStream = $ this -> stream ; }
Resets cached encoding and charset streams, and rewinds the stream.
Resets cached encoding and charset streams and rewinds the stream .