/** * Read the specified number of bytes into an array. * * @param b * the byte array to read into * @return the number of bytes read or <code>-1</code> if the end of the * stream has been reached * @throws IOException * if an I/O error occurs */ @Override public int read(final byte[] b) throws IOException { return read(b, 0, b.length); }
/** * Read the specified number of bytes into an array. * * @param b * the byte array to read into * @return the number of bytes read or <code>-1</code> if the end of the * stream has been reached * @throws IOException * if an I/O error occurs */ @Override public int read(final byte[] b) throws IOException { return read(b, 0, b.length); }