HaruDoc::readFromStream
(PECL haru >= 0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
Описание
HaruDoc::readFromStream
( int
$bytes
) : stringRead data from the temporary stream.
Список параметров
-
bytes
-
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 при ошибке.
Смотрите также
- HaruDoc::saveToStream() - Save the document into a temporary stream
- HaruDoc::resetStream() - Rewind the temporary stream
- HaruDoc::getStreamSize() - Get the size of the temporary stream