HaruDoc::save
HaruDoc::setCompressionMode
HaruDoc
PHP Manual

# HaruDoc::saveToStream

(PECL haru >= 0.0.1)

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

### 설명

bool HaruDoc::saveToStream ( void )

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

HaruDoc::save
HaruDoc::setCompressionMode
HaruDoc
PHP Manual