(PECL haru:0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
Returns data from the temporary stream. The bytes parameter specifies how much bytes to read, though the stream may contain less bytes than requested.
Throws HaruException on error.