Wrapper class for PHP stream that supports read operations.
| package |
phing.system.io |
|---|
__construct(resource $stream)
resourceConfigured PHP stream for writing.
skip(int $n)
int
read(int $len = null) : string
intNum chars to read. If not specified this stream will read until EOF.
stringchars read or -1 if eof.
mark()
| throws |
|
|---|
markSupported() : boolean
boolean
reset()
| throws |
|
|---|
close()
| throws |
if stream cannot be closed (note that calling close() on an already-closed stream will not raise an exception) |
|---|
eof() : boolean
boolean
readInto($rBuffer) : TRUE
| author |
Charlie Killian, charlie@tizac.com |
|---|---|
| throws |
|
| deprecated |
|
TRUEon success.
__toString() : string
string
stream : resource
| var |
The attached PHP stream. |
|---|
resource
currentPosition : int
| var |
Position of stream cursor. |
|---|
int
mark : int
| var |
Marked position of stream cursor. |
|---|
int