@throws ioexception if trying to read past the end of file.
@throws eofexception if the end of file is reached andthroweofexception is set to {@code true}.
throweofexception
@return the number of bytes read or -1if the end of file has been reached andthroweofexception is set to {@code false}.
-1
file : https_github_com_apache_commons-io_git/src/main/java/org/apache/commons/io/input/NullInputStream.java