| com.caucho.quercus.lib.file.BinaryStream
BinaryStream | public interface BinaryStream (Code) | | Interface for a Quercus stream
|
Method Summary | |
public void | close() All streams can be closed. | public long | getPosition() Tells the position in the stream. | public boolean | isEOF() | public boolean | setPosition(long offset) Sets the current position in the stream. | public Value | stat() Returns an array filled with stat information. |
close | public void close()(Code) | | All streams can be closed.
|
getPosition | public long getPosition()(Code) | | Tells the position in the stream.
The valid range for a stream position is 0 to Long.MAX_VALUE,
so a negative number can't be a valid stream position.
|
isEOF | public boolean isEOF()(Code) | | Returns true if end-of-file has been reached
|
setPosition | public boolean setPosition(long offset)(Code) | | Sets the current position in the stream.
Returns true on success, false otherwise.
|
stat | public Value stat()(Code) | | Returns an array filled with stat information. Mainly for wrapped
stream functionality.
|
|
|