Input stream subclass for file streams.
package |
phing.system.io |
---|
__construct(resource $stream)
resource
Configured PHP stream for writing.
__toString() : string
string
markSupported() : boolean
boolean
skip(int $n)
int
read(int $len = null) : string
int
Num chars to read. If not specified this stream will read until EOF.
string
chars read or -1 if eof.
mark()
throws |
|
---|
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 |
|
TRUE
on success.
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