Lines Matching refs:read
28 * is called, the current entity's header has already been read from the underlying
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
54 * are read from the stream, the output of this method is undefined.
56 * @return The byte read, or undefined if the end of the stream has been reached.
58 public int read() throws IOException {
71 * @param b Byte array into which the data will be read
74 * @param size The number of bytes to read in this operation. If insufficient
76 * will be read as is available.
77 * @return The number of bytes of data read, or zero if all of the entity's
78 * data has already been read.
80 public int read(byte[] b, int offset, int size) throws IOException {
90 * @return The number of bytes of data read, or zero if all of the entity's
91 * data has already been read.
93 public int read(byte[] b) throws IOException {