public static <T, R> Function<T, R> uncheck(IOFunction<T, R> function) {
        return t -> {
            try {
                return function.apply(t);
            } catch (IOException ex) {
                throw new UncheckedIOException(ex);
            }
        };
    }
Interface for functions that throw IOExceptions, which are wrapped to
UncheckedIOExceptions.

@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-core/src/main/java/info/ata4/util/function/IOFunction.java