default M readModel(URL url) throws IOException { try (InputStream is = url.openStream()) { return readModel(is); } }
default M readModel(URL url) throws IOException { try (InputStream is = url.openStream()) { return readModel(is); } }
default M readModel(File f) throws IOException { try (FileInputStream is = new FileInputStream(f)) { return readModel(is); } }
default M readModel(byte[] buf) throws IOException { try (ByteArrayInputStream is = new ByteArrayInputStream(buf)) { return readModel(is); } }
default M readModel(byte[] buf) throws IOException { try (ByteArrayInputStream is = new ByteArrayInputStream(buf)) { return readModel(is); } }
default M readModel(File f) throws IOException { try (InputStream is = IOUtil.asBufferedInputStream(f)) { return readModel(is); } }