httpservices/src/main/java/ucar/httpservices/HTTPUtil.java
static public byte[]
    readbinaryfile(File f)
            throws IOException
    {
        try (FileInputStream fis = new FileInputStream(f)) {
            return readbinaryfile(fis);
        }
    }
static public byte[]
    readbinaryfile(File f)
            throws IOException
    {
        try (FileInputStream fis = new FileInputStream(f)) {
            return readbinaryfile(fis);
        }
    }
static public byte [ ] readbinaryfile ( File f ) throws IOException { try ( FileInputStream fis = new FileInputStream ( f ) ) { return readbinaryfile ( fis ) ; } }
Misc.
Misc .