PHP Manual
Prev |  | Next

# HaruDoc::readFromStream

(no version information, might be only in CVS)

HaruDoc::readFromStream -- Read data from the temporary stream

## Description

string HaruDoc::readFromStream ( int bytes )

Returns data from the temporary stream. The `bytes` parameter specifies how much bytes to read, though the stream may contain less bytes than requested.

## Errors/Exceptions

Throws HaruException on error.

## See Also

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

Prev | Home | Next
HaruDoc::output | Up | HaruDoc::resetError