(PECL haru:0.0.1)
HaruDoc::saveToStream — Save the document into a temporary stream
Saves the document data into a temporary stream.
Returns TRUE on success.
Throws HaruException on error.