Lines Matching refs:read
27 * read as expected.
49 * number read.
51 * @param b the buffer into which the data is read, not null
52 * @return the total number of bytes read into the buffer, -1 if end of stream
54 * @see java.io.InputStream#read(byte[])
56 public int read(byte[] b) throws IOException {
57 int found = super.read(b);
64 * keeping count of the number read.
66 * @param b the buffer into which the data is read, not null
68 * @param len the maximum number of bytes to read
69 * @return the total number of bytes read into the buffer, -1 if end of stream
71 * @see java.io.InputStream#read(byte[], int, int)
73 public int read(byte[] b, int off, int len) throws IOException {
74 int found = super.read(b, off, len);
81 * if a byte is successfully read.
83 * @return the byte read, -1 if end of stream
85 * @see java.io.InputStream#read()
87 public int read() throws IOException {
88 int found = super.read();