Reads the next byte of data from the input stream. The value byte is
returned as an int in the range 0 to 255. If no byte is available because
the end of the stream has been reached, the value -1 is returned. If the
result is not -1, then the number of bytes read is incremented by 1.
public int read(byte arg0,
Reads up to len bytes of data from the input stream into an array of
bytes. An attempt is made to read as many as len bytes, but a smaller
number may be read. The number of bytes actually read is returned as an
integer. If the result is not -1, the the number of bytes read is
incremented by the result of the read operation.
Skips over and discards n bytes of data from this input stream. Returns
the number of bytes skipped from this stream. If the result is not -1,
then the number of bytes is incremented by the total number of bytes
Marks the current position in this input stream. A subsequent call to the
reset method repositions this stream at the last marked position so that
subsequent reads re-read the same bytes.
The readlimit arguments tells this input stream to allow that many bytes
to be read before the mark position gets invalidated.
The number of bytes read from this stream at this instance is noted so
that on subsequent calls to reset, the bytesRead can be reset to this
value if mark is success.
Repositions this stream to the position at the time the mark method was
last called on this input stream if and only if mark is supported by the
Resets the bytesRead parameter to the mark value.