Lines Matching defs:read
39 * @param length the total number of bytes allowed to be read
50 * @return the byte read, or -1 if the end of the log or end of the
54 public int read() throws IOException {
57 int c = in.read();
65 * @param b the buffer into which the data is read
66 * @return the actual number of bytes read, or -1 if the end of the log
70 public int read(byte b[]) throws IOException {
71 return read(b, 0, b.length);
77 * @param b the buffer into which the data is read
79 * @param len the maximum number of bytes read
80 * @return the actual number of bytes read, or -1 if the end of the log or
84 public int read(byte b[], int off, int len) throws IOException {
88 int n = in.read(b, off, len);
111 * Returns the number of bytes that can be read without blocking.
121 * Closes the input stream. No further input can be read.