HaruDoc::save
HaruDoc::setCompressionMode
HaruDoc
PHP Manual

# HaruDoc::saveToStream

(PECL haru >= 0.0.1)

HaruDoc::saveToStream — Save the document into a temporary stream

### Descripción

bool HaruDoc::saveToStream ( void )

Saves the document data into a temporary stream.

### Lista de parámetros

This function has no parameters.

### Valores retornados

Returns `TRUE` on success.

### Errors/Exceptions

Throws a HaruException on error.

### Ver también

- HaruDoc::resetStream - Rewind the temporary stream
- HaruDoc::getStreamSize - Get the size of the temporary stream
- HaruDoc::readFromStream - Read data from the temporary stream

HaruDoc::save
HaruDoc::setCompressionMode
HaruDoc
PHP Manual