/**
* Set the position to the offset
*
* @param integer $offset The offset in bytes
*
* @return boolean
*/
protected function seek_set($offset)
{
if ($offset < 0 || $offset > \strlen($this->buffers[$this->name])) {
return false;
}
$this->position = $offset;
return true;
}