HaruDoc::saveToStream
(PECL haru >= 0.0.1)
HaruDoc::saveToStream — Save the document into a temporary stream
说明
HaruDoc::saveToStream (
void ) :
bool
Saves the document data into a temporary stream.
参数
此函数没有参数。
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
参见
- HaruDoc::resetStream() - Rewind the temporary stream
- HaruDoc::getStreamSize() - Get the size of the temporary stream
- HaruDoc::readFromStream() - Read data from the temporary stream