Writer class for OutputStream objects.
Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.
package |
phing.system.io |
---|
__construct(\InputStream $inStream)
close()
throws |
if there is an error closing stream |
---|---|
eof() : boolean
boolean
getResource() : string
This is critical for, e.g., ExpatParser's ability to know the filename that is throwing an ExpatParserException, etc.
string
mark()
A subsequent call to reset() will move stream position back to last marker (if supported).
markSupported() : boolean
boolean
read(integer $len = null)
If length is specified, then only that number of chars is read, otherwise stream is read until EOF.
integer
readInto( &$rBuffer) : TRUE
author |
Charlie Killian, charlie@tizac.com |
---|---|
deprecated |
Use read() or BufferedReader instead. |
TRUE
on success. Err object on failure.
ready() : boolean
boolean
reset()
skip(integer $n)
integer