Lines Matching refs:read
27 * This class wraps an {@code InputStream} and a cipher so that {@code read()}
28 * methods return data that are read from the underlying {@code InputStream} and
34 * CipherInputStream} tries to read the data an decrypt them before returning.
50 * the input stream to read data from.
66 * the input stream to read data from.
80 public int read() throws IOException {
93 if ((num_read = in.read(i_buffer)) == -1) {
104 return read();
119 public int read(byte[] b) throws IOException {
120 return read(b, 0, b.length);
127 * if {@code b} is {@code null}, the next {@code len} bytes are read and
135 * the maximum number of bytes to read.
144 public int read(byte[] b, int off, int len) throws IOException {
152 if ((read_b = read()) == -1) {
182 while ((i < n) && (read() != -1)) {