Inherited by ByteArrayInputStream, and FileInputStream.
Public Member Functions | |
virtual int | read (ByteBuffer &dst)=0 |
Reads a sequence of bytes into the given buffer. | |
virtual void | close ()=0 |
Closes this input stream and releases any system resources associated with the stream. | |
Protected Member Functions | |
InputStream () | |
virtual | ~InputStream () |
|
|
|
|
|
Closes this input stream and releases any system resources associated with the stream.
Implemented in ByteArrayInputStream, and FileInputStream. |
|
Reads a sequence of bytes into the given buffer.
Implemented in ByteArrayInputStream, and FileInputStream. |