Lines Matching refs:read
22 * the input data while it is being read. Transformations can be anything from a
67 * indicates how many bytes can be read before the mark is invalidated.
74 * the number of bytes that can be read from this stream before
105 * @return the byte read or -1 if the end of the filtered stream has been
111 public int read() throws IOException {
112 return in.read();
117 * {@code buffer}. Returns the number of bytes actually read or -1 if no
118 * bytes were read and the end of this stream was encountered. This
122 * the byte array in which to store the read bytes.
123 * @return the number of bytes actually read or -1 if the end of the
129 public int read(byte[] buffer) throws IOException {
130 return read(buffer, 0, buffer.length);
136 * of bytes actually read or -1 if no bytes have been read and the end of
141 * the byte array in which to store the bytes read.
144 * read from this stream.
147 * @return the number of bytes actually read or -1 if the end of the
153 public int read(byte[] buffer, int offset, int count) throws IOException {
154 return in.read(buffer, offset, count);
164 * bytes have been read since setting the mark.
175 * {@code read()}'s will not return these bytes unless {@code reset()} is