public function cut()
    {
        $this->data = substr($this->data, $this->position);
        if ($this->data === false) {
            $this->data = '';
        }

        $this->position = 0;
    }
public function cut()
    {
        $this->data = substr($this->data, $this->position);
        if ($this->data === false) {
            $this->data = '';
        }

        $this->position = 0;
    }
public function cut ( ) { $ this -> data = substr ( $ this -> data , $ this -> position ) ; if ( $ this -> data === false ) { $ this -> data = '' ; } $ this -> position = 0 ; }
Removes all bytes from the beginning to the current position.
Removes all bytes from the beginning to the current position .