public function seek($position)
    {
        $position = (int) $position;
        if (0 > $position) {
            $position = 0;
        }
        
        $this->current = $position;
    }
public function seek($position)
    {
        $position = (int) $position;
        if (0 > $position) {
            $position = 0;
        }
        
        $this->current = $position;
    }
public function seek ( $ position ) { $ position = ( int ) $ position ; if ( 0 > $ position ) { $ position = 0 ; } $ this -> current = $ position ; }
Moves to the given position in the buffer.

@param int $position
Moves to the given position in the buffer .