PhpAmqpLib/Wire/AMQPReader.php
public function reuse($str)
    {
        $this->str = $str;
        $this->str_length = mb_strlen($this->str, 'ASCII');
        $this->offset = 0;
        $this->bitcount = $this->bits = 0;
    }
public function reuse($str)
    {
        $this->str = $str;
        $this->str_length = mb_strlen($this->str, 'ASCII');
        $this->offset = 0;
        $this->bitcount = $this->bits = 0;
    }
public function reuse ( $ str ) { $ this -> str = $ str ; $ this -> str_length = mb_strlen ( $ this -> str , 'ASCII' ) ; $ this -> offset = 0 ; $ this -> bitcount = $ this -> bits = 0 ; }
Resets the object from the injected param

Used to not need to create a new AMQPReader instance every time.
when we can just pass a string and reset the object state.
NOTE: since we are working with strings we don't need to pass an AbstractIO
or a timeout.

@param string $str
Resets the object from the injected param