@throws ioexception if an i/o error occurs
@throws eofexception if an end of file is reached unexpectedly
@return the read long
file : https_github_com_apache_commons-io_git/src/main/java/org/apache/commons/io/input/SwappedDataInputStream.java