![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.io.CountedInputStream:

Definition at line 54 of file CountedInputStream.java.
Public Member Functions | |
| CountedInputStream (InputStream in) | |
| Construct a new CountedInputStream reading from the specified base stream. | |
| int | read () throws IOException |
| Read the next byte from this input stream. | |
| int | read (byte[] buf, int offset, int cnt) throws IOException |
| Read a block of bytes from this input stream. | |
| int | read (byte[] buf) throws IOException |
| Read a block of bytes from this input stream. | |
| int | available () throws IOException |
| Return the number of bytes that can be read without blocking. | |
| void | close () throws IOException |
| Close the stream. | |
| long | skip (long n) throws IOException |
| Skip ahead in the stream. | |
| void | mark (int readLimit) |
| Mark the current position in the input stream. | |
| void | reset () throws IOException |
| Return to the previously marked position in the input stream. | |
| boolean | markSupported () |
| Return true if mark/reset supported (they are.). | |
| int | getPosition () |
| Return the number of bytes read so far from this input stream. | |
| void | setPosition (int pos) |
| Set the current position. | |
Package Attributes | |
| InputStream | in |
| int | pos = 0 |
|
|
Construct a new CountedInputStream reading from the specified base stream.
Definition at line 64 of file CountedInputStream.java. |
|
|
Return the number of bytes that can be read without blocking.
Definition at line 103 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in. |
|
|
Close the stream.
Definition at line 110 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in. |
|
|
Return the number of bytes read so far from this input stream.
Definition at line 145 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.pos. |
|
|
Mark the current position in the input stream.
Definition at line 124 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in, and com.quadcap.io.CountedInputStream.mark(). Referenced by com.quadcap.io.CountedInputStream.mark(). |
|
|
Return true if mark/reset supported (they are.).
Definition at line 138 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in. |
|
|
Read a block of bytes from this input stream.
Definition at line 94 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in, and com.quadcap.io.CountedInputStream.pos. |
|
||||||||||||||||
|
Read a block of bytes from this input stream.
Definition at line 83 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in, and com.quadcap.io.CountedInputStream.pos. |
|
|
Read the next byte from this input stream.
Definition at line 73 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in, and com.quadcap.io.CountedInputStream.pos. |
|
|
Return to the previously marked position in the input stream.
Definition at line 131 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in. |
|
|
Set the current position.
Definition at line 152 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.setPosition(). Referenced by com.quadcap.io.CountedInputStream.setPosition(). |
|
|
Skip ahead in the stream.
Definition at line 117 of file CountedInputStream.java. References com.quadcap.io.CountedInputStream.in, and com.quadcap.io.CountedInputStream.skip(). Referenced by com.quadcap.io.CountedInputStream.skip(). |
|
|
|
Definition at line 56 of file CountedInputStream.java. Referenced by com.quadcap.io.CountedInputStream.getPosition(), and com.quadcap.io.CountedInputStream.read(). |