First page Back Continue Last page Overview Graphics
Input Superclasses
InputStream defines the same methods but for reading bytes and arrays of bytes:
int read() //Read a single byte,-1 if end.
int read(byte cbuf[]) //Read several bytes...
int read(byte cbuf[], int offset, int length)
Both Reader and InputStream provide methods for marking a location in the stream, skipping input, and resetting the current position.