private function _outTermStr($content) { if (is_resource($content)) { rewind($content); } $this->_stream->add($content); $this->_stream->add(chr(0)); }