(PECL haru >= 0.0.1)
Read data from the temporary stream
string HaruDoc::readFromStream ( int $bytes )
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.
Returns:
Returns data from the temporary stream.
Exception:
Throws a HaruException on error.
See also:
Please login to continue.