HaruDoc::readFromStream

(PECL haru >= 0.0.1)

HaruDoc::readFromStreamRead data from the temporary stream

Description

HaruDoc::readFromStream ( int $bytes ) : string

Read data from the temporary stream.

Parameters

bytes

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

Return Values

Returns data from the temporary stream.

Errors/Exceptions

Throws a HaruException on error.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top