(PECL haru >= 0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
Read data from the temporary stream.
The bytes parameter specifies how many bytes to read, though the stream may contain less bytes than requested.
Returns data from the temporary stream.
Бросает исключение HaruException при ошибке.