public function write($content)
    {
        fseek($this->resource, $this->writePosition);
        if(false === fwrite($this->resource, $content))
            throw new ResourceException("Unable to write content to resource");
        $this->writePosition = ftell($this->resource);
        return $this;
    }