PHP Dokumentation: Function harudoc-readfromstream
12. Januar 2010 von werner
HaruDoc::readFromStream
(PECL haru >= 0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
Beschreibung
string HaruDoc::readFromStream ( int $bytes )
Read data from the temporary stream.
Parameter-Liste
- bytes
The bytes parameter specifies how many bytes to read, though the stream may contain less bytes than requested.
Rückgabewerte
Returns data from the temporary stream.
Fehler/Exceptions
Throws a HaruException on error.
Siehe auch
- HaruDoc::saveToStream – Save the document into a temporary stream
- HaruDoc::resetStream – Rewind the temporary stream
- HaruDoc::getStreamSize – Get the size of the temporary stream