- buffer
- the character array to store the characters read.
- offset
- the initial position in buffer to store the chars read from this reader.
- length
- the maximum number of characters to read, must be non-negative.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IndexOutOfBoundsException if offset buffer.length. Java.IO.IOException if this reader is closed or some other I/O error occurs.
Reads up to length characters from this reader and stores them at offset in the character array buffer. Returns the number of characters actually read or -1 if the end of the source reader has been reached. If all the buffered characters have been used, a mark has not been set and the requested number of characters is larger than this readers buffer size, BufferedReader bypasses the buffer and simply places the results directly into buffer.