HaruDoc::output
HaruDoc::resetError
HaruDoc
PHP Manual

# HaruDoc::readFromStream

(PECL haru:0.0.1)

HaruDoc::readFromStream — Read data from the temporary stream

### Opis

string HaruDoc::readFromStream ( int `$bytes` )

Read data from the temporary stream.

### Parametry

`bytes`

  The `bytes` parameter specifies how many bytes to read, though the stream may contain less bytes than requested.

### Zwracane wartości

Returns data from the temporary stream.

### Błędy/Wyjątki

Throws HaruException on error.

### Patrz także

- HaruDoc::saveToStream()
- HaruDoc::resetStream()
- HaruDoc::getStreamSize()

HaruDoc::output
HaruDoc::resetError
HaruDoc
PHP Manual