HaruDoc::readFromStream
(PECL haru >= 0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
설명
string HaruDoc::readFromStream
( int $bytes
)
Read 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
There are no user contributed notes for this page.
