In the spirit of "the best code is no code", how would you feel about replacing our endian classes and IOUtils with Apache Commons IO?
The downside is that it adds a dependency. https://poi.apache.org/overview.html#components https://commons.apache.org/proper/commons-io/javadocs/api-release/index.html?org/apache/commons/io/package-summary.html