< prev index next >

src/java.base/share/classes/sun/misc/IOUtils.java

Print this page

        

*** 37,47 **** public class IOUtils { /** * Read up to <code>length</code> of bytes from <code>in</code> * until EOF is detected. ! * @param in input stream, must not be null * @param length number of bytes to read, -1 or Integer.MAX_VALUE means * read as much as possible * @param readAll if true, an EOFException will be thrown if not enough * bytes are read. Ignored when length is -1 or Integer.MAX_VALUE * @return bytes read --- 37,47 ---- public class IOUtils { /** * Read up to <code>length</code> of bytes from <code>in</code> * until EOF is detected. ! * @param is input stream, must not be null * @param length number of bytes to read, -1 or Integer.MAX_VALUE means * read as much as possible * @param readAll if true, an EOFException will be thrown if not enough * bytes are read. Ignored when length is -1 or Integer.MAX_VALUE * @return bytes read
< prev index next >