MiscStream¶
-
php\io\MiscStream extends: php\io\Stream
Children
- class php\compress\ArchiveInputStream
- class php\compress\ArchiveOutputStream
- class php\io\MemoryStream
Class MiscStream
Methods
read($length)¶throws php\io\IOException
Parameters:
- $length – int - - count of bytes
Returns: mixed
readFully()¶throws php\io\IOException
Returns: mixed
write($value, $length = null)¶throws php\io\IOException
Parameters:
- $value – string
- $length – null, int
Returns: int
eof()¶
Returns: bool
seek($position)¶throws php\io\IOException
Parameters:
- $position – int
Returns: mixed
getPosition()¶throws php\io\IOException
Returns: int
close()¶
Returns: mixed
length()¶
Returns: int
flush()¶throws php\io\IOException