Lines Matching defs:read
51 /** Temporary read buffer. */
73 * @param in input stream to read the uncompressed data to
85 * @param in input stream to read the uncompressed data to
97 * @param in input stream to read the uncompressed data to
142 * This method will block until some input can be read and compressed.
149 public int read() throws IOException {
151 int len = read(rbuf, 0, 1);
159 * This method will block until some input can be read and compressed.
161 * @param b buffer into which the data is read
163 * @param len maximum number of compressed bytes to read into {@code b}
164 * @return the actual number of bytes read, or -1 if the end of the
171 public int read(byte[] b, int off, int len) throws IOException {
175 throw new NullPointerException("Null buffer for read");
189 n = in.read(buf, 0, buf.length);
198 // Compress the input data, filling the read buffer
214 * This method may block until the specified number of bytes are read and
238 int len = read(rbuf, 0, (total <= rbuf.length ? total : rbuf.length));
253 * of bytes that could be read without blocking
280 * @param limit maximum bytes that can be read before invalidating the position marker